package.json
4.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "feewee-admin-system",
"version": "4.0.0",
"private": true,
"description": "霏微汽车云平台",
"scripts": {
"analyze": "cross-env ANALYZE=1 umi build",
"build": "umi build && npm run package",
"deploy": "cross-env ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION=site npm run site && npm run gh-pages",
"gh-pages": "cp CNAME ./dist/ && gh-pages -d dist",
"i18n-remove": "pro i18n-remove --locale=zh-CN --write",
"postinstall": "umi g tmp",
"lint": "npm run lint:js && npm run lint:style && npm run lint:prettier",
"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 ./",
"lint:prettier": "check-prettier lint",
"lint:style": "stylelint --fix \"src/**/*.less\" --syntax less",
"prettier": "prettier -c --write \"**/*\"",
"site": "cross-env npm run fetch:blocks && npm run build && npm run functions:build",
"start": "cross-env HOST=devlocal.feewee.cn umi dev",
"start:dev": "cross-env REACT_APP_ENV=dev MOCK=none UMI_UI=none HOST=devlocal.feewee.cn umi dev",
"start:test": "cross-env REACT_APP_ENV=test MOCK=none UMI_UI=none HOST=testlocal.feewee.cn umi dev",
"start:prod": "cross-env REACT_APP_ENV=prod MOCK=none UMI_UI=none HOST=local.feewee.cn umi dev",
"test": "umi test",
"test:all": "node ./tests/run-tests.js",
"test:component": "umi test ./src/components",
"package": "chmod +x ./build.sh && ./build.sh"
},
"husky": {
"hooks": {}
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 10"
],
"dependencies": {
"@ant-design/colors": "^6.0.0",
"@ant-design/compatible": "^1.0.1",
"@ant-design/pro-descriptions": "^1.9.10",
"@ant-design/pro-layout": "^6.24.1",
"@antv/data-set": "^0.10.2",
"@types/js-cookie": "^2.2.2",
"@types/qrcode.react": "^1.0.1",
"@types/react-image-crop": "^8.1.2",
"antd": "^4.16.13",
"array-move": "^3.0.1",
"await-to-js": "^2.1.1",
"axios": "^0.19.2",
"bizcharts": "^3.5.5",
"braft-editor": "^2.3.7",
"braft-utils": "^3.0.12",
"classnames": "^2.2.6",
"copy-to-clipboard": "^3.3.1",
"cos-js-sdk-v5": "0.5.26",
"currency.js": "^2.0.3",
"global": "^4.4.0",
"image-conversion": "^2.1.1",
"immer": "^7.0.5",
"js-cookie": "^2.2.1",
"jsonp": "^0.2.1",
"localforage": "^1.7.4",
"lrz": "^4.9.40",
"mobx": "5.15.4",
"mobx-react-lite": "1.5.2",
"moment": "^2.24.0",
"omit.js": "^1.0.2",
"path-to-regexp": "^3.0.0",
"qrcode.react": "^1.0.0",
"qs": "^6.7.0",
"react-bmap": "^1.0.84",
"react-copy-to-clipboard": "^5.0.1",
"react-document-title": "^2.0.3",
"react-image-crop": "^8.6.2",
"react-sortable-hoc": "^1.11.0",
"spark-md5": "^3.0.2",
"typescript": "3.8.3",
"umi": "3.3.7",
"umi-request": "1.3.5",
"use-merge-value": "^1.0.1",
"webpack-theme-color-replacer": "^1.3.11"
},
"resolutions": {
"moment": "2.24.0"
},
"devDependencies": {
"@ant-design/pro-cli": "^2.0.2",
"@ant-design/pro-form": "^1.38.1",
"@ant-design/pro-table": "^2.51.2",
"@types/classnames": "^2.2.7",
"@types/express": "^4.17.0",
"@types/history": "^4.7.2",
"@types/jest": "^24.0.13",
"@types/js-cookie": "^2.2.2",
"@types/lodash": "^4.14.133",
"@types/qrcode.react": "^1.0.1",
"@types/qs": "^6.5.3",
"@types/react": "^16.8.19",
"@types/react-document-title": "^2.0.3",
"@types/react-dom": "^16.8.4",
"@types/react-image-crop": "^8.1.2",
"@typescript-eslint/parser": "^4.21.0",
"@umijs/fabric": "^2.0.5",
"@umijs/plugin-blocks": "^2.0.5",
"@umijs/preset-ant-design-pro": "^1.2.0",
"@umijs/preset-react": "^1.4.16",
"@umijs/preset-ui": "^2.1.11",
"chalk": "^2.4.2",
"check-prettier": "^1.0.3",
"cross-env": "^7.0.0",
"cross-port-killer": "^1.1.1",
"enzyme": "^3.9.0",
"eslint": "^7.19.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-plugin-compat": "^3.9.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.22.0",
"express": "^4.17.1",
"gh-pages": "^2.0.1",
"husky": "^3.0.0",
"lint-staged": "^9.0.0",
"mockjs": "^1.0.1-beta3",
"prettier": "^2.2.1",
"pro-download": "1.0.1",
"serverless-http": "^2.0.2",
"stylelint": "^10.1.0"
},
"engines": {
"node": ">=10.0.0"
}
}