Add the App Router page group, nested layouts, Tailwind and shadcn styling, shared header components, local fonts and backgrounds, Ant Design demo support, and compatible lint scripts and dependencies.
66 lines
2.0 KiB
JSON
66 lines
2.0 KiB
JSON
{
|
|
"name": "chapter3",
|
|
"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": {
|
|
"@ant-design/v5-patch-for-react-19": "^1.0.3",
|
|
"@ant-design/cssinjs": "^2.1.2",
|
|
"@ant-design/nextjs-registry": "^1.3.0",
|
|
"antd": "^6.6.2",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"immer": "^11.1.18",
|
|
"lucide-react": "^1.37.0",
|
|
"lodash": "^4.18.1",
|
|
"next": "16.3.3",
|
|
"radix-ui": "^1.6.7",
|
|
"react": "19.2.8",
|
|
"react-dom": "19.2.8",
|
|
"shadcn": "^4.19.0",
|
|
"tailwind-merge": "^3.6.0",
|
|
"tw-animate-css": "^1.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint-react/eslint-plugin": "^5.18.6",
|
|
"@eslint/eslintrc": "^3.3.6",
|
|
"@next/eslint-plugin-next": "^16.3.3",
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/lodash": "^4.17.25",
|
|
"@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",
|
|
"rimraf": "^6.1.3",
|
|
"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",
|
|
"imports": {
|
|
"#tailwind.css": "./src/app/styles/tailwind.css"
|
|
}
|
|
}
|