mirror of https://gitee.com/anolis/sysom.git
128 lines
4.2 KiB
JSON
128 lines
4.2 KiB
JSON
{
|
|
"name": "ant-design-pro",
|
|
"version": "5.0.0",
|
|
"private": true,
|
|
"description": "An out-of-box UI solution for enterprise applications",
|
|
"scripts": {
|
|
"analyze": "cross-env ANALYZE=1 umi build",
|
|
"build": "umi 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": "umi g tmp",
|
|
"lint": "umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier && npm run tsc",
|
|
"lint-staged": "lint-staged",
|
|
"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 -c --write \"src/**/*\" --end-of-line auto",
|
|
"lint:style": "stylelint --fix \"src/**/*.less\" --syntax less",
|
|
"openapi": "umi openapi",
|
|
"precommit": "lint-staged",
|
|
"prettier": "prettier -c --write \"src/**/*\"",
|
|
"start": "cross-env 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",
|
|
"cypress:open": "cypress open"
|
|
},
|
|
"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.4.2",
|
|
"@ant-design/pro-card": "^1.20.22",
|
|
"@ant-design/pro-components": "^2.6.16",
|
|
"@ant-design/pro-descriptions": "^1.12.6",
|
|
"@ant-design/pro-form": "^1.74.7",
|
|
"@ant-design/pro-layout": "^6.5.0",
|
|
"@ant-design/pro-table": "^2.80.8",
|
|
"@antv/x6": "^1.32.6",
|
|
"@antv/x6-react-shape": "^1.6.3",
|
|
"@codemirror/lang-json": "^6.0.1",
|
|
"@codemirror/lint": "^6.4.2",
|
|
"@uiw/codemirror-theme-tokyo-night": "^4.21.11",
|
|
"@uiw/react-codemirror": "^4.21.11",
|
|
"@umijs/route-utils": "^2.0.3",
|
|
"antd": "4.24.8",
|
|
"browserslist": "^4.20.2",
|
|
"caniuse-lite": "^1.0.30001320",
|
|
"classnames": "^2.2.6",
|
|
"js-export-excel": "^1.1.4",
|
|
"moment": "^2.29.4",
|
|
"node-fetch": "^3.3.1",
|
|
"react": "17.x",
|
|
"react-dev-inspector": "^1.8.4",
|
|
"react-dnd": "^16.0.1",
|
|
"react-dnd-html5-backend": "^16.0.1",
|
|
"react-dom": "17.x",
|
|
"react-helmet-async": "^1.0.4",
|
|
"react-json-view-lite": "^1.0.0",
|
|
"react-markdown": "8.0.7",
|
|
"react-resizable": "^3.0.5",
|
|
"react-sizeme": "^3.0.2",
|
|
"umi": "^3.5.40",
|
|
"url-parse": "^1.5.10",
|
|
"use-force-update": "^1.0.11",
|
|
"xlsx": "0.18.5",
|
|
"xterm": "^5.1.0",
|
|
"xterm-addon-attach": "^0.8.0",
|
|
"xterm-addon-fit": "^0.7.0",
|
|
"xterm-addon-web-links": "^0.8.0",
|
|
"zustand": "^4.4.7"
|
|
},
|
|
"devDependencies": {
|
|
"@types/express": "^4.17.0",
|
|
"@types/history": "^4.7.2",
|
|
"@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/openapi": "^1.8.3",
|
|
"@umijs/plugin-esbuild": "^1.4.2",
|
|
"@umijs/plugin-openapi": "^1.3.3",
|
|
"@umijs/preset-react": "1.x",
|
|
"carlo": "^0.9.46",
|
|
"cross-env": "^7.0.0",
|
|
"cross-port-killer": "^1.1.1",
|
|
"detect-installer": "^1.0.1",
|
|
"echarts": "^5.4.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.7",
|
|
"mockjs": "^1.0.1-beta3",
|
|
"prettier": "^2.2.0",
|
|
"puppeteer-core": "^8.0.0",
|
|
"stylelint": "^13.0.0",
|
|
"typescript": "^4.1.2",
|
|
"yorkie": "^2.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=10.0.0"
|
|
},
|
|
"gitHooks": {
|
|
"commit-msg": "fabric verify-commit"
|
|
}
|
|
}
|