新项目, antd6, react19

This commit is contained in:
zhengw
2026-01-05 17:06:16 +08:00
commit fcb43c0cbd
84 changed files with 6939 additions and 0 deletions

51
package.json Normal file
View File

@@ -0,0 +1,51 @@
{
"name": "freeerp-admin",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "node src/utils/update.js && vite",
"debug": "vite --debug",
"build": "node src/utils/update.js && vite build --mode development",
"build:pro": "node src/utils/update.js && vite build --mode production",
"// check": "运行format, lint等, 并应用安全建议(不会修改代码)",
"check": "npx @biomejs/biome check --write ./src",
"// lint": "校验文件",
"lint": "npx @biomejs/biome lint --write ./src",
"// format": "格式化文件",
"format": "npx @biomejs/biome format --write ./src",
"// write": "运行format, lint等, 并应用建议修改代码!!!!!!!!!!",
"write": "npx @biomejs/biome check --write-unsafe ./src",
"preview": "vite preview"
},
"dependencies": {
"@ant-design/icons": "~5.6.1",
"antd": "^6.1.2",
"big.js": "^7.0.1",
"dayjs": "^1.11.19",
"qs": "^6.14.0",
"react": "^19.2.3",
"react-dom": "^19.2.3",
"valtio": "^2.2.0",
"zustand": "^5.0.9"
},
"devDependencies": {
"@biomejs/biome": "2.3.10",
"@types/big.js": "^6.2.2",
"@types/node": "^25.0.3",
"@types/qs": "^6.14.0",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react-swc": "^4.2.2",
"globals": "^16.5.0",
"rollup-plugin-visualizer": "^6.0.5",
"typescript": "~5.9.3",
"vite": "npm:rolldown-vite@7.3.0"
},
"overrides": {
"vite": "npm:rolldown-vite@7.3.0"
},
"volta": {
"node": "22.18.0"
}
}