前端代码

This commit is contained in:
2026-08-13 22:35:13 +08:00
parent 9044bafdff
commit f1a0b17bb0
412 changed files with 36769 additions and 6617 deletions
+65 -87
View File
@@ -1,96 +1,74 @@
{
"name": "ant-design-pro",
"version": "6.0.0",
"name": "kra",
"version": "3.0.0",
"private": true,
"description": "An out-of-box UI solution for enterprise applications",
"repository": "git@github.com:ant-design/ant-design-pro.git",
"scripts": {
"analyze": "cross-env ANALYZE=1 max build",
"build": "max build",
"deploy": "npm run build && npm run gh-pages",
"dev": "npm run start:dev",
"gh-pages": "gh-pages -d dist",
"i18n-remove": "pro i18n-remove --locale=zh-CN --write",
"postinstall": "max setup",
"jest": "jest",
"lint": "npm run biome:lint && npm run tsc",
"lint-staged": "lint-staged",
"biome:lint": "npx @biomejs/biome lint",
"prepare": "husky",
"preview": "npm run build && max preview --port 8000",
"record": "cross-env NODE_ENV=development UMI_ENV=test max record --scene=login",
"serve": "umi-serve",
"start": "cross-env UMI_ENV=dev max dev",
"start:dev": "cross-env UMI_ENV=dev PORT=3000 MOCK=none max dev",
"start:no-mock": "cross-env MOCK=none max dev",
"start:pre": "cross-env UMI_ENV=pre MOCK=none max dev",
"start:test": "cross-env UMI_ENV=test MOCK=none max dev",
"test": "jest",
"test:coverage": "npm run jest -- --coverage",
"test:update": "npm run jest -- -u",
"tsc": "tsc --noEmit"
"dev": "vite --host --mode development",
"serve": "vite --host --mode development",
"build": "vite build --mode production",
"preview": "vite preview --host 0.0.0.0 --mode development",
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},
"browserslist": ["defaults"],
"type": "module",
"dependencies": {
"@ant-design/icons": "^6.2.5",
"@ant-design/pro-components": "^3.1.12-0",
"antd": "^6.4.4",
"antd-style": "^4.1.0",
"classnames": "^2.5.1",
"dayjs": "^1.11.13",
"react": "^19.1.0",
"react-dom": "^19.1.0"
"@element-plus/icons-vue": "^2.3.1",
"@iconify/vue": "^5.0.0",
"@simple-prism/core": "^0.1.4",
"@unocss/transformer-directives": "^66.4.2",
"@vue-office/docx": "^1.6.2",
"@vue-office/excel": "^1.7.11",
"@vue-office/pdf": "^2.0.2",
"@vueuse/core": "^12.8.2",
"@vueuse/integrations": "^12.8.2",
"@wangeditor/editor": "^5.1.23",
"@wangeditor/editor-for-vue": "^5.1.12",
"arcdash": "^0.0.60",
"axios": "1.8.2",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"echarts": "5.5.1",
"element-plus": "^2.13.6",
"highlight.js": "^11.10.0",
"mitt": "^3.0.1",
"nprogress": "^0.2.0",
"pinia": "^2.2.2",
"qs": "^6.13.0",
"reka-ui": "^2.10.0",
"screenfull": "^6.0.2",
"sortablejs": "^1.15.3",
"spark-md5": "^3.0.2",
"tailwind-merge": "^3.6.0",
"universal-cookie": "^7",
"vite-auto-import-svg": "^2.9.8",
"vue": "^3.5.31",
"vue-cropper": "^1.1.4",
"vue-echarts": "^7.0.3",
"vue-qr": "^4.0.9",
"vue-router": "^4.4.3",
"vuedraggable": "^4.1.0"
},
"devDependencies": {
"@ant-design/pro-cli": "^3.3.0",
"@commitlint/cli": "^20.1.0",
"@commitlint/config-conventional": "^20.0.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.3.0",
"@types/express": "^5.0.3",
"@types/jest": "^30.0.0",
"@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6",
"@types/react-helmet": "^6.1.11",
"@umijs/lint": "^4.6.1",
"@umijs/max": "^4.6.2",
"cross-env": "^10.0.0",
"express": "^5.2.0",
"gh-pages": "^6.1.1",
"husky": "^9.1.7",
"jest": "^30.0.4",
"jest-environment-jsdom": "^30.0.5",
"lint-staged": "^16.1.2",
"mockjs": "^1.1.0",
"ts-node": "^10.9.2",
"typescript": "^5.6.3",
"umi-presets-pro": "^2.0.3",
"umi-serve": "^1.9.11",
"@biomejs/biome": "^2.1.1",
"@types/node": "^24.0.13"
},
"engines": {
"node": ">=20.0.0"
},
"create-umi": {
"ignoreScript": ["docker*", "functions*", "site", "generateMock"],
"ignoreDependencies": ["netlify*", "serverless"],
"ignore": [
".dockerignore",
".git",
".github",
".gitpod.yml",
"CODE_OF_CONDUCT.md",
"Dockerfile",
"Dockerfile.*",
"lambda",
"LICENSE",
"netlify.toml",
"README.*.md",
"azure-pipelines.yml",
"docker",
"CNAME",
"create-umi"
]
"@babel/core": "^7.25.0",
"@babel/eslint-parser": "^7.25.1",
"@babel/preset-env": "^7.25.0",
"@eslint/js": "^8.56.0",
"@unocss/extractor-svelte": "^66.4.2",
"@unocss/preset-wind3": "^66.4.2",
"@unocss/vite": "^66.5.0",
"@vitejs/plugin-vue": "^6.0.6",
"@vue/compiler-sfc": "^3.5.1",
"autoprefixer": "^10.4.20",
"chalk": "^5.3.0",
"chokidar": "^4.0.0",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
"eslint-plugin-vue": "^9.19.2",
"globals": "^16.3.0",
"sass": "^1.78.0",
"vite": "^8.0.10",
"vite-check-multiple-dom": "0.2.1",
"vite-plugin-vue-devtools": "^8.1.1",
"vue-eslint-parser": "^9.4.3"
}
}