143 lines
4.8 KiB
JSON
143 lines
4.8 KiB
JSON
{
|
|
"name": "ant-design-pro",
|
|
"version": "4.5.13",
|
|
"private": true,
|
|
"description": "An out-of-box UI solution for enterprise applications",
|
|
"scripts": {
|
|
"analyze": "cross-env ANALYZE=1 umi build",
|
|
"build": "node script/writeVersion.js && umi build",
|
|
"deploy": "npm run site && npm run gh-pages",
|
|
"dev": "npm run start:dev",
|
|
"fetch:blocks": "pro fetch-blocks && npm run prettier",
|
|
"gh-pages": "gh-pages -d dist",
|
|
"i18n-remove": "pro i18n-remove --locale=zh-CN --write",
|
|
"postinstall": "umi g tmp",
|
|
"lint": "umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",
|
|
"lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx ",
|
|
"lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",
|
|
"lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",
|
|
"lint:prettier": "prettier --check \"src/**/*\" --end-of-line auto",
|
|
"lint:style": "stylelint --fix \"src/**/*.less\" --syntax less",
|
|
"prettier": "prettier -c --write \"src/**/*\"",
|
|
"start": "cross-env NODE_OPTIONS=--max-old-space-size=8192 UMI_ENV=dev umi dev",
|
|
"start:dev": "cross-env REACT_APP_ENV=dev MOCK=none UMI_ENV=dev umi dev",
|
|
"start:no-mock": "cross-env MOCK=none UMI_ENV=dev umi dev",
|
|
"start:no-ui": "cross-env UMI_UI=none UMI_ENV=dev umi dev",
|
|
"start:pre": "cross-env REACT_APP_ENV=pre UMI_ENV=dev umi dev",
|
|
"start:test": "cross-env REACT_APP_ENV=test MOCK=none UMI_ENV=dev umi dev",
|
|
"pretest": "node ./tests/beforeTest",
|
|
"test": "umi test",
|
|
"test:all": "node ./tests/run-tests.js",
|
|
"test:component": "umi test ./src/components",
|
|
"tsc": "tsc --noEmit",
|
|
"serve": "umi-serve",
|
|
"fix-memory-limit": "cross-env LIMIT=100000 increase-memory-limit"
|
|
},
|
|
"lint-staged": {
|
|
"**/*.less": "stylelint --syntax less",
|
|
"**/*.{js,jsx,ts,tsx}": "npm run lint-staged:js",
|
|
"**/*.{js,jsx,tsx,ts,less,md,json}": [
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"browserslist": [
|
|
"> 1%",
|
|
"last 2 versions",
|
|
"not ie <= 10"
|
|
],
|
|
"dependencies": {
|
|
"@ant-design/charts": "^1.3.4",
|
|
"@ant-design/icons": "^5.3.1",
|
|
"@ant-design/pro-descriptions": "^1.2.0",
|
|
"@ant-design/pro-field": "^1.31.13",
|
|
"@ant-design/pro-form": "^1.3.0",
|
|
"@ant-design/pro-layout": "^6.9.0",
|
|
"@ant-design/pro-list": "^1.21.44",
|
|
"@ant-design/pro-table": "^2.60.0",
|
|
"@ant-design/pro-utils": "^1.32.6",
|
|
"@antv/l7": "^2.22.1",
|
|
"@antv/l7-maps": "^2.22.1",
|
|
"@antv/s2": "^1.49.2",
|
|
"@antv/s2-react": "^1.30.0",
|
|
"@antv/scale": "^0.4.16",
|
|
"@umijs/route-utils": "^1.0.33",
|
|
"ahooks": "^2.10.3",
|
|
"antd": "^4.17.0",
|
|
"classnames": "^2.2.6",
|
|
"compression-webpack-plugin": "^11.1.0",
|
|
"crypto-js": "^4.1.1",
|
|
"eslint-webpack-plugin": "^4.2.0",
|
|
"html-webpack-plugin": "^5.6.0",
|
|
"increase-memory-limit": "^1.0.7",
|
|
"insert-css": "^2.0.0",
|
|
"js-export-excel": "^1.1.4",
|
|
"lodash": "^4.17.11",
|
|
"marked": "^4.2.12",
|
|
"mobx": "^6.7.0",
|
|
"moment": "^2.25.3",
|
|
"omit.js": "^2.0.2",
|
|
"package": "^1.0.1",
|
|
"react": "^17.0.2",
|
|
"react-countup": "^6.4.2",
|
|
"react-dev-inspector": "^1.1.1",
|
|
"react-dom": "^17.0.2",
|
|
"react-draggable": "^4.4.5",
|
|
"react-helmet-async": "^1.0.4",
|
|
"react-html-table-to-excel": "^2.0.0",
|
|
"react-to-print": "^2.14.4",
|
|
"umi": "^3.5.41",
|
|
"umi-plugin-keep-alive": "^0.0.1-beta.35",
|
|
"umi-request": "^1.0.8",
|
|
"wp2vite": "^2.0.9",
|
|
"xlsx": "^0.18.5",
|
|
"xlsx-style": "^0.8.13"
|
|
},
|
|
"devDependencies": {
|
|
"@ant-design/pro-card": "^1.14.18",
|
|
"@ant-design/pro-cli": "^1.0.28",
|
|
"@types/classnames": "^2.2.7",
|
|
"@types/express": "^4.17.0",
|
|
"@types/history": "^4.7.2",
|
|
"@types/insert-css": "^2.0.1",
|
|
"@types/jest": "^26.0.0",
|
|
"@types/lodash": "^4.14.144",
|
|
"@types/react": "^17.0.0",
|
|
"@types/react-dom": "^17.0.0",
|
|
"@types/react-helmet": "^6.1.0",
|
|
"@umijs/fabric": "^2.5.1",
|
|
"@umijs/plugin-blocks": "^2.0.5",
|
|
"@umijs/plugin-esbuild": "^1.4.0",
|
|
"@umijs/plugin-qiankun": "^2.44.1",
|
|
"@umijs/preset-ant-design-pro": "^1.2.0",
|
|
"@umijs/preset-react": "^1.4.8",
|
|
"@umijs/yorkie": "^2.0.3",
|
|
"carlo": "^0.9.46",
|
|
"chalk": "^4.0.0",
|
|
"cross-env": "^7.0.3",
|
|
"cross-port-killer": "^1.1.1",
|
|
"detect-installer": "^1.0.1",
|
|
"enzyme": "^3.11.0",
|
|
"eslint": "^7.1.0",
|
|
"express": "^4.17.1",
|
|
"gh-pages": "^3.0.0",
|
|
"jsdom-global": "^3.0.2",
|
|
"lint-staged": "^10.0.0",
|
|
"mockjs": "^1.0.1-beta3",
|
|
"numeral": "^2.0.6",
|
|
"prettier": "^2.0.1",
|
|
"puppeteer-core": "^8.0.0",
|
|
"stylelint": "^13.0.0",
|
|
"typescript": "^4.0.3",
|
|
"umi-serve": "^1.9.10"
|
|
},
|
|
"engines": {
|
|
"node": ">=10.0.0"
|
|
},
|
|
"checkFiles": [
|
|
"src/**/*.js*",
|
|
"src/**/*.ts*",
|
|
"src/**/*.less",
|
|
"config/**/*.js*",
|
|
"scripts/**/*.js"
|
|
]
|
|
} |