- 更新 ESLint 配置以忽略 vite.config.ts 文件。 - 在 package.json 中添加 pnpm 配置。 - 修改 tsconfig 文件以包含 vite.config.ts 和 eslint.config.ts。 - 在多个场景中添加引导对话,增强用户学习体验。 - 更新组件中的文本和描述,确保一致性和准确性。
67 lines
1.7 KiB
JSON
67 lines
1.7 KiB
JSON
{
|
|
"name": "shanghai-residences",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"packageManager": "pnpm@10.18.3",
|
|
"engines": {
|
|
"node": ">=18.0.0",
|
|
"pnpm": ">=10.0.0"
|
|
},
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc && vite build",
|
|
"lint": "eslint .",
|
|
"typecheck": "tsc --noEmit",
|
|
"preview": "vite preview",
|
|
"storybook": "storybook dev -p 6006",
|
|
"build-storybook": "storybook build"
|
|
},
|
|
"dependencies": {
|
|
"axios": "^1.12.2",
|
|
"clsx": "^2.1.1",
|
|
"framer-motion": "^12.23.26",
|
|
"lucide-react": "^0.545.0",
|
|
"mammoth": "^1.11.0",
|
|
"react": "^19.1.1",
|
|
"react-dom": "^19.1.1",
|
|
"react-router-dom": "^7.9.4",
|
|
"tailwind-merge": "^3.4.0",
|
|
"vconsole": "^3.15.1",
|
|
"zustand": "^5.0.8"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.36.0",
|
|
"@storybook/addon-essentials": "^8.4.7",
|
|
"@storybook/addon-interactions": "^8.4.7",
|
|
"@storybook/addon-links": "^8.4.7",
|
|
"@storybook/react": "^8.4.7",
|
|
"@storybook/react-vite": "^8.4.7",
|
|
"@storybook/test": "^8.4.7",
|
|
"@tailwindcss/postcss": "^4.1.14",
|
|
"@types/node": "^24.8.0",
|
|
"@types/react": "^19.1.16",
|
|
"@types/react-dom": "^19.1.9",
|
|
"@typescript-eslint/eslint-plugin": "^8.46.1",
|
|
"@typescript-eslint/parser": "^8.46.1",
|
|
"@vitejs/plugin-react": "^5.0.4",
|
|
"autoprefixer": "^10.4.21",
|
|
"baseline-browser-mapping": "^2.9.6",
|
|
"eslint": "^9.36.0",
|
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
"eslint-plugin-react-refresh": "^0.4.22",
|
|
"globals": "^16.4.0",
|
|
"postcss": "^8.5.6",
|
|
"storybook": "^8.4.7",
|
|
"tailwindcss": "^4.1.14",
|
|
"typescript": "^5.9.3",
|
|
"typescript-eslint": "^8.46.1",
|
|
"vite": "^7.1.7"
|
|
},
|
|
"pnpm": {
|
|
"onlyBuiltDependencies": [
|
|
"core-js"
|
|
]
|
|
}
|
|
}
|