- 新增文件必须使用 TypeScript (.ts/.tsx) - 禁止使用 fetch,提示使用 axios - 安装 husky 和 lint-staged 依赖 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
171 lines
5.6 KiB
JSON
Executable File
171 lines
5.6 KiB
JSON
Executable File
{
|
|
"name": "argon-dashboard-chakra-pro",
|
|
"version": "2.0.0",
|
|
"private": true,
|
|
"homepage": "/",
|
|
"dependencies": {
|
|
"@ant-design/icons": "^6.0.0",
|
|
"@chakra-ui/icons": "^2.2.6",
|
|
"@chakra-ui/react": "^2.10.9",
|
|
"@chakra-ui/theme-tools": "^2.2.6",
|
|
"@emotion/cache": "^11.4.0",
|
|
"@emotion/react": "^11.4.0",
|
|
"@emotion/styled": "^11.3.0",
|
|
"@fontsource/open-sans": "^4.5.0",
|
|
"@fontsource/raleway": "^4.5.0",
|
|
"@fontsource/roboto": "^4.5.0",
|
|
"@fullcalendar/core": "^6.1.19",
|
|
"@fullcalendar/daygrid": "^6.1.19",
|
|
"@fullcalendar/interaction": "^6.1.19",
|
|
"@fullcalendar/react": "^6.1.19",
|
|
"@reduxjs/toolkit": "^2.9.2",
|
|
"@splidejs/react-splide": "^0.7.12",
|
|
"@tanstack/react-virtual": "^3.13.12",
|
|
"@tippyjs/react": "^4.2.6",
|
|
"@visx/responsive": "^3.12.0",
|
|
"@visx/scale": "^3.12.0",
|
|
"@visx/text": "^3.12.0",
|
|
"@visx/visx": "^3.12.0",
|
|
"@visx/wordcloud": "^3.12.0",
|
|
"antd": "^5.27.4",
|
|
"apexcharts": "^3.27.3",
|
|
"axios": "^1.10.0",
|
|
"classnames": "^2.5.1",
|
|
"craco-less": "^3.0.1",
|
|
"d3": "^7.9.0",
|
|
"date-fns": "^2.23.0",
|
|
"dayjs": "^1.11.19",
|
|
"draft-js": "^0.11.7",
|
|
"echarts": "^5.6.0",
|
|
"echarts-for-react": "^3.0.2",
|
|
"echarts-wordcloud": "^2.1.0",
|
|
"framer-motion": "^12.23.24",
|
|
"fullcalendar": "^5.9.0",
|
|
"globalize": "^1.7.0",
|
|
"history": "^5.3.0",
|
|
"klinecharts": "^10.0.0-beta1",
|
|
"lucide-react": "^0.540.0",
|
|
"match-sorter": "6.3.0",
|
|
"nouislider": "15.0.0",
|
|
"posthog-js": "^1.295.0",
|
|
"react": "^19.0.0",
|
|
"react-apexcharts": "^1.3.9",
|
|
"react-circular-slider-svg": "^0.1.5",
|
|
"react-custom-scrollbars-2": "^4.4.0",
|
|
"react-dom": "^19.0.0",
|
|
"react-force-graph-3d": "^1.29.0",
|
|
"react-github-btn": "^1.2.1",
|
|
"react-icons": "^4.12.0",
|
|
"react-input-pin-code": "^1.1.5",
|
|
"react-is": "^19.0.0",
|
|
"react-just-parallax": "^3.1.16",
|
|
"react-markdown": "^10.1.0",
|
|
"react-redux": "^9.2.0",
|
|
"react-responsive": "^10.0.1",
|
|
"react-responsive-masonry": "^2.7.1",
|
|
"react-router-dom": "^6.30.1",
|
|
"react-scripts": "^5.0.1",
|
|
"react-scroll": "^1.8.4",
|
|
"react-scroll-into-view": "^2.1.3",
|
|
"react-table": "^7.7.0",
|
|
"react-tagsinput": "3.19.0",
|
|
"react-to-print": "^3.0.3",
|
|
"react-tsparticles": "^2.12.2",
|
|
"reagraph": "^4.27.0",
|
|
"recharts": "^3.1.2",
|
|
"remark-gfm": "^4.0.1",
|
|
"sass": "^1.49.9",
|
|
"socket.io-client": "^4.7.4",
|
|
"styled-components": "^5.3.11",
|
|
"stylis": "^4.0.10",
|
|
"stylis-plugin-rtl": "^2.1.1",
|
|
"three": "^0.181.2",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"resolutions": {
|
|
"react-error-overlay": "6.0.9",
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0"
|
|
},
|
|
"overrides": {
|
|
"uuid": "^9.0.1",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0"
|
|
},
|
|
"scripts": {
|
|
"prestart": "kill-port 3000",
|
|
"start": "NODE_OPTIONS='--openssl-legacy-provider --max_old_space_size=4096' env-cmd -f .env.mock craco start",
|
|
"prestart:real": "kill-port 3000",
|
|
"start:real": "NODE_OPTIONS='--openssl-legacy-provider --max_old_space_size=4096' env-cmd -f .env.local craco start",
|
|
"prestart:dev": "kill-port 3000",
|
|
"start:dev": "NODE_OPTIONS='--openssl-legacy-provider --max_old_space_size=4096' env-cmd -f .env.development craco start",
|
|
"start:test": "concurrently \"python app.py\" \"npm run frontend:test\" --names \"backend,frontend\" --prefix-colors \"blue,green\"",
|
|
"frontend:test": "NODE_OPTIONS='--openssl-legacy-provider --max_old_space_size=4096' env-cmd -f .env.test craco start",
|
|
"dev": "npm start",
|
|
"backend": "python app.py",
|
|
"build": "NODE_OPTIONS='--openssl-legacy-provider --max_old_space_size=4096' TSC_COMPILE_ON_ERROR=true DISABLE_ESLINT_PLUGIN=true env-cmd -f .env.production craco build && gulp licenses",
|
|
"build:analyze": "NODE_OPTIONS='--openssl-legacy-provider --max_old_space_size=4096' ANALYZE=true craco build",
|
|
"test": "craco test --env=jsdom",
|
|
"eject": "react-scripts eject",
|
|
"deploy": "bash scripts/deploy-from-local.sh",
|
|
"deploy:setup": "bash scripts/setup-deployment.sh",
|
|
"rollback": "bash scripts/rollback-from-local.sh",
|
|
"lint:check": "eslint . --ext=js,jsx,ts,tsx; exit 0",
|
|
"lint:fix": "eslint . --ext=js,jsx,ts,tsx --fix; exit 0",
|
|
"type-check": "tsc --noEmit",
|
|
"type-check:watch": "tsc --noEmit --watch",
|
|
"clean": "rm -rf node_modules/ package-lock.json",
|
|
"reinstall": "npm run clean && npm install"
|
|
},
|
|
"devDependencies": {
|
|
"@craco/craco": "^7.1.0",
|
|
"@types/node": "^20.19.25",
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.46.4",
|
|
"@typescript-eslint/parser": "^8.46.4",
|
|
"ajv": "^8.17.1",
|
|
"concurrently": "^8.2.2",
|
|
"env-cmd": "^11.0.0",
|
|
"eslint-config-prettier": "8.3.0",
|
|
"eslint-plugin-prettier": "3.4.0",
|
|
"gulp": "4.0.2",
|
|
"gulp-append-prepend": "1.0.9",
|
|
"husky": "^9.1.7",
|
|
"imagemin": "^9.0.1",
|
|
"imagemin-mozjpeg": "^10.0.0",
|
|
"imagemin-pngquant": "^10.0.0",
|
|
"kill-port": "^2.0.1",
|
|
"less": "^4.4.2",
|
|
"less-loader": "^12.3.0",
|
|
"lint-staged": "^16.2.7",
|
|
"msw": "^2.11.5",
|
|
"prettier": "2.2.1",
|
|
"react-error-overlay": "6.0.9",
|
|
"sharp": "^0.34.4",
|
|
"ts-node": "^10.9.2",
|
|
"webpack-bundle-analyzer": "^4.10.2",
|
|
"yn": "^5.1.0"
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
]
|
|
},
|
|
"msw": {
|
|
"workerDirectory": [
|
|
"public"
|
|
]
|
|
},
|
|
"optionalDependencies": {
|
|
"fsevents": "^2.3.3"
|
|
}
|
|
}
|