Files
My-TS-Fullstack/chapter2/package.json
T
jiawei 5ce6f24569 chore(chapter2): configure compatible lint tooling
Use the Next.js-compatible ESLint 9 toolchain, add CSS linting scripts and dependencies, and export the Stylelint config through a named constant.
2026-08-30 00:06:40 +08:00

48 lines
1.5 KiB
JSON

{
"name": "chapter2",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "rimraf .next && next dev --turbopack",
"build": "rimraf .next && next build",
"start": "next start",
"lint": "pnpm lint:es && pnpm lint:style",
"lint:es": "eslint . --fix",
"lint:style": "stylelint \"**/*.css\" --fix --cache --cache-location node_modules/.cache/stylelint"
},
"dependencies": {
"next": "16.3.3",
"react": "19.2.8",
"react-dom": "19.2.8"
},
"devDependencies": {
"@eslint-react/eslint-plugin": "^5.18.6",
"@eslint/eslintrc": "^3.3.6",
"@next/eslint-plugin-next": "^16.3.3",
"@tailwindcss/postcss": "^4",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"babel-plugin-react-compiler": "1.0.0",
"eslint": "^9.39.5",
"eslint-config-next": "16.3.3",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-perfectionist": "^5.10.1",
"eslint-plugin-prettier": "^5.5.6",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.5",
"eslint-plugin-unused-imports": "^4.4.1",
"prettier": "^3.9.6",
"stylelint": "^17.14.1",
"stylelint-config-css-modules": "^4.6.0",
"stylelint-config-recess-order": "^7.8.0",
"stylelint-config-standard": "^40.0.0",
"stylelint-prettier": "^5.0.3",
"tailwindcss": "^4",
"typescript": "^5"
},
"packageManager": "pnpm@10.34.5"
}