You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

81 lines
2.2 KiB
JSON

{
"private": true,
"scripts": {
"start": "umi dev",
"build": "umi build",
"build:test": "umi build",
"postinstall": "umi generate tmp",
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
"test": "umi-test",
"test:coverage": "umi-test --coverage",
"lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx ",
"lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx ./src",
"lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx",
"lint:prettier": "prettier --check \"src/**/*\" --end-of-line auto",
"lint:style": "stylelint --fix \"src/**/*.less\" --syntax less"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,less,md,json}": [
"prettier --write",
"git add"
],
"*.ts?(x)": [
"prettier --parser=typescript --write"
]
},
"dependencies": {
"@ant-design/charts": "^1.4.2",
"@ant-design/pro-layout": "^6.5.0",
"@antv/g2plot": "^2.4.28",
"@antv/l7": "^2.14.7",
"@antv/l7-maps": "^2.14.7",
"@minko-fe/use-antd-resizable-header": "^2.4.1",
"@types/js-cookie": "^2.2.6",
"ahooks": "^3.7.0",
"antd": "^4.16.13",
"axios": "^0.21.1",
"caniuse-lite": "^1.0.30001381",
"dva": "^2.4.0",
"echarts": "^4.8.0",
"echarts-for-react": "^2.0.16",
"exceljs": "^4.3.0",
"file-saver": "^2.0.5",
"js-cookie": "^2.2.1",
"konva": "^8.3.9",
"lodash": "^4.17.21",
"react": "17.x",
"react-activation": "^0.10.2",
"react-dom": "17.x",
"react-konva": "^18.1.1",
"react-resizable": "^3.0.4",
"umi": "^3.5.17",
"umi-plugin-keep-alive": "^0.0.1-beta.34",
"umi-request": "^1.0.8",
"user-agent": "^1.0.4",
"xlsx": "^0.16.2"
},
"devDependencies": {
"@types/echarts": "^4.9.16",
"@types/jquery": "^3.5.14",
"@types/lodash": "^4.14.181",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/react-resizable": "^3.0.2",
"@umijs/fabric": "^2.6.7",
"@umijs/preset-react": "1.x",
"@umijs/test": "^3.5.17",
"husky": "^7.0.2",
"lint-staged": "^11.1.2",
"typescript": "^4.1.2",
"yorkie": "^2.0.0"
}
}