package.json
5.2 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
{
"name": "feewee-admin-system",
"version": "4.0.0",
"private": true,
"description": "霏微汽车云平台",
"scripts": {
"analyze": "cross-env ANALYZE=1 NODE_OPTIONS='--max_old_space_size=4096 --openssl-legacy-provider' umi build",
"build:prod": "cross-env REACT_APP_ENV=prod NODE_OPTIONS=--max_old_space_size=4096 umi build && node afterbuild.js",
"build:prod_local": "cross-env REACT_APP_ENV=prod NODE_OPTIONS='--no-deprecation --max_old_space_size=4096 --openssl-legacy-provider' umi build && node afterbuild.js",
"build:unset": "cross-env REACT_APP_ENV=dev NODE_OPTIONS='--max_old_space_size=4096 --openssl-legacy-provider' umi build && node afterbuild.js",
"build:local": "cross-env REACT_APP_ENV=dev NODE_OPTIONS='--no-deprecation --max_old_space_size=4096 --openssl-legacy-provider' umi build && node afterbuild.js",
"lint": "npm run lint:js && npm run lint:style && npm run lint:prettier",
"lint-staged": "lint-staged",
"lint-staged:js": "NODE_OPTIONS='--max_old_space_size=4096 --openssl-legacy-provider' eslint --ext .js,.jsx,.ts,.tsx ",
"lint:fix": "NODE_OPTIONS='--max_old_space_size=4096 --openssl-legacy-provider' eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",
"lint:js": "NODE_OPTIONS='--max_old_space_size=4096 --openssl-legacy-provider' eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./",
"lint:prettier": "check-prettier lint",
"lint:style": "stylelint --fix \"src/**/*.less\" --syntax less",
"package": "chmod +x ./build.sh && ./build.sh",
"prettier": "prettier -c --write \"**/*\"",
"site": "cross-env npm run fetch:blocks && npm run build && npm run functions:build",
"start": "cross-env REACT_APP_ENV=test NODE_OPTIONS='--max_old_space_size=4096 --openssl-legacy-provider' umi dev",
"start:dev": "cross-env REACT_APP_ENV=dev HOST=devlocal.feewee.cn NODE_OPTIONS='--max_old_space_size=4096 --openssl-legacy-provider' umi dev",
"start:prod": "cross-env REACT_APP_ENV=prod HOST=local.feewee.cn NODE_OPTIONS=\"--max_old_space_size=4096 --openssl-legacy-provider\" umi dev",
"start:test": "cross-env REACT_APP_ENV=test HOST=testlocal.feewee.cn NODE_OPTIONS=\"--max_old_space_size=4096 --openssl-legacy-provider\" umi dev",
"prepare": "husky install"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 10"
],
"lint-staged": {
"*.{js,jsx,ts,tsx,mjs,cjs}": [
"node --max_old_space_size=8192 ./node_modules/eslint/bin/eslint.js --fix --color --cache --quiet"
]
},
"dependencies": {
"@amap/amap-jsapi-loader": "^1.0.1",
"@ant-design/colors": "^6.0.0",
"@ant-design/compatible": "^1.1.2",
"@ant-design/icons": "^4.8.1",
"@ant-design/pro-descriptions": "^1.12.7",
"@ant-design/pro-layout": "^6.38.22",
"@antv/data-set": "^0.10.2",
"@feewee/helper-wasm": "^0.2.7",
"ahooks": "^3.7.8",
"antd": "~4.23.6",
"array-move": "^4.0.0",
"await-to-js": "^2.1.1",
"axios": "^0.21.4",
"bizcharts": "^3.5.10",
"braft-editor": "^2.3.9",
"braft-utils": "^3.0.12",
"classnames": "^2.3.2",
"copy-to-clipboard": "^3.3.3",
"cos-js-sdk-v5": "0.5.26",
"currency.js": "^2.0.4",
"dayjs": "^1.11.10",
"global": "^4.4.0",
"image-conversion": "^2.1.1",
"immer": "^7.0.15",
"js-cookie": "^2.2.1",
"jsonp": "^0.2.1",
"localforage": "^1.10.0",
"lodash": "^4.17.21",
"lrz": "^4.9.41",
"mobx": "5.15.4",
"mobx-react-lite": "1.5.2",
"moment": "^2.29.4",
"omit.js": "^1.0.2",
"path-to-regexp": "^3.2.0",
"qrcode.react": "^1.0.1",
"qs": "^6.11.2",
"react": "^16.14.0",
"react-amap": "^1.2.8",
"react-beautiful-dnd": "^13.1.1",
"react-bmap": "^1.0.131",
"react-copy-to-clipboard": "^5.1.0",
"react-d3-tree": "3.6.2",
"react-document-title": "^2.0.3",
"react-dom": "^16.14.0",
"react-image-crop": "^8.6.12",
"react-sortable-hoc": "^2.0.0",
"spark-md5": "^3.0.2",
"umi": "^3.5.41",
"umi-request": "1.3.5",
"use-merge-value": "^1.2.0",
"webpack-theme-color-replacer": "^1.4.7"
},
"devDependencies": {
"@amap/amap-jsapi-loader": "^1.0.1",
"@ant-design/pro-cli": "^2.1.5",
"@ant-design/pro-form": "^1.74.7",
"@ant-design/pro-table": "^2.80.8",
"@feewee/fabric": "^1.1.7",
"@types/express": "^4.17.20",
"@types/history": "^4.7.11",
"@types/jest": "^24.9.1",
"@types/js-cookie": "^2.2.7",
"@types/lodash": "^4.14.200",
"@types/qrcode.react": "^1.0.4",
"@types/qs": "^6.9.9",
"@types/react": "18.0.28",
"@types/react-document-title": "^2.0.7",
"@types/react-dom": "^16.9.21",
"@types/react-image-crop": "^8.1.5",
"@typescript-eslint/typescript-estree": "^5.62.0",
"@umijs/plugin-blocks": "^2.2.2",
"@umijs/preset-ant-design-pro": "^1.3.3",
"@umijs/preset-react": "^1.8.32",
"@umijs/preset-ui": "^2.2.9",
"check-prettier": "^1.0.3",
"cross-env": "^7.0.3",
"cross-port-killer": "^1.4.0",
"eslint": "^8.52.0",
"express": "^4.18.2",
"form-data": "^4.0.0",
"gh-pages": "^2.2.0",
"husky": "^8.0.3",
"lint-staged": "^13.3.0",
"mockjs": "^1.1.0",
"prettier": "^2.8.8",
"stylelint": "^10.1.0"
},
"engines": {
"node": ">=14.0.0"
}
}