-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
187 lines (187 loc) · 6.64 KB
/
package.json
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
{
"name": "dgiot-amis-dashboard",
"version": "0.0.2",
"private": false,
"description": "dgiot-amis-dashboard 脚手架",
"license": "MIT",
"author": "h7ml([email protected])",
"homepage": "https://github.com/dgiot/dgiot-amis-dashboard.git",
"scripts": {
"ncu": "ncu",
"global-init": "yarn global add typescript && yarn global add npm-check-updates",
"project-init": "yarn install",
"fix-memory-limit": "cross-env LIMIT=4096 increase-memory-limit",
"generate-AntdIcon": "ts-node scripts/generate-AntdIcon.ts",
"dev": "cross-env TS_NODE_PROJECT='./build/webpack.tsconfig.json' NODE_ENV=development webpack-dev-server --config build/webpack.conf.ts --color --progress",
"dev:analyzer": "cross-env TS_NODE_PROJECT='./build/webpack.tsconfig.json' NODE_ENV=development ANALYZER=1 webpack-dev-server --config build/webpack.conf.ts",
"amis": "npm run build && npm run copy",
"build": "cross-env TS_NODE_PROJECT='./build/webpack.tsconfig.json' NODE_ENV=production webpack --config build/webpack.conf.ts",
"build:Compression": "cross-env COMPRESSION_TYPE='gzip' TS_NODE_PROJECT='./build/webpack.tsconfig.json' NODE_ENV=production webpack --config build/webpack.conf.ts",
"copy": "sh copy.sh",
"build:analyzer": "cross-env TS_NODE_PROJECT='./build/webpack.tsconfig.json' NODE_ENV=production ANALYZER=1 webpack --config build/webpack.conf.ts",
"build:oss": "cross-env TS_NODE_PROJECT='./build/webpack.tsconfig.json' ENABLE_CDN=true OSS_KEY='' OSS_SECRET='' NODE_ENV=production webpack --config build/webpack.conf.ts",
"release": "node src/utils/release/index.js && standard-version && exit",
"style": "run-s style:**",
"style:prettier": "prettier --write \"src/**/*.ts\" \"src/**/*.tsx\"",
"style:lint": "tslint -p tsconfig.json -c tslint.json",
"push": "git pull && yarn style && yarn genlog && git add . && git cz && git push origin master && exit",
"genlog": "conventional-changelog -p angular -i CHANGELOG.md -s"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dgiot/dgiot-amis-dashboard.git"
},
"bugs": {
"url": "https://github.com/dgiot/dgiot-amis-dashboard/issues"
},
"scripts-bak": {
"ncu-u": "ncu -u"
},
"dependencies": {
"@ant-design/icons": "^4.7.0",
"amis": "^1.8.0",
"antd": "^4.16.13",
"axios": "^0.22.0",
"base-x": "^3.0.8",
"big.js": "^6.1.1",
"classnames": "^2.3.1",
"commitizen": "^4.2.4",
"conventional-changelog-cli": "^2.1.1",
"copy-to-clipboard": "^3.3.1",
"crypto-js": "^4.1.1",
"cz-conventional-changelog": "^3.3.0",
"dayjs": "^1.10.7",
"fast-json-stable-stringify": "^2.1.0",
"font-awesome": "^4.7.0",
"immutable": "^4.0.0",
"js-base64": "^3.7.2",
"js-cookie": "^2.2.1",
"konva": "^8.3.5",
"lodash": "^4.17.21",
"lodash.isequal": "^4.5.0",
"memoize-one": "^5.2.1",
"mockjs": "^1.1.0",
"moment": "^2.29.1",
"mqtt": "^4.3.7",
"numeral": "^2.0.6",
"path-to-regexp": "^6.2.0",
"prettier": "^2.4.1",
"qs": "^6.10.1",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-helmet": "^6.1.0",
"shelljs": "^0.8.4",
"simplebar": "^5.3.6",
"simplebar-react": "^2.3.6"
},
"devDependencies": {
"@babel/core": "^7.15.8",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-decorators": "^7.15.8",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5",
"@babel/plugin-proposal-object-rest-spread": "^7.15.6",
"@babel/plugin-proposal-optional-chaining": "^7.14.5",
"@babel/plugin-transform-object-assign": "^7.14.5",
"@babel/plugin-transform-runtime": "^7.15.8",
"@babel/preset-env": "^7.15.8",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.15.0",
"@babel/runtime-corejs3": "^7.15.4",
"@commitlint/cli": "^13.2.1",
"@commitlint/config-conventional": "^13.2.0",
"@types/ali-oss": "^6.0.11",
"@types/autoprefixer": "^9.7.2",
"@types/classnames": "^2.3.1",
"@types/copy-webpack-plugin": "^6.4.3",
"@types/fs-extra": "^9.0.13",
"@types/ip": "^1.1.0",
"@types/js-cookie": "^2.2.7",
"@types/lodash": "^4.14.175",
"@types/lodash.isequal": "^4.5.5",
"@types/mini-css-extract-plugin": "^1.4.3",
"@types/node": "^12.20.28",
"@types/numeral": "^0.0.30",
"@types/optimize-css-assets-webpack-plugin": "^5.0.4",
"@types/react": "^16.14.16",
"@types/react-dom": "^16.9.14",
"@types/react-helmet": "^6.1.4",
"@types/slash": "^3.0.0",
"@types/terser-webpack-plugin": "^4.2.2",
"@types/webpack": "^4.41.31",
"@types/webpack-bundle-analyzer": "^3.9.4",
"@types/webpack-dev-server": "^3.11.6",
"@types/webpack-merge": "^4.1.5",
"@types/webpackbar": "^4.0.2",
"add-asset-html-webpack-plugin": "^3.2.0",
"ali-oss": "^6.16.0",
"autoprefixer": "^10.3.7",
"babel-loader": "^8.2.2",
"cache-loader": "^4.1.0",
"chalk": "^4.1.2",
"clean-webpack-plugin": "^3.0.0",
"clipboardy": "^2.3.0",
"colors": "^1.4.0",
"compression-webpack-plugin": "^6.1.1",
"copy-webpack-plugin": "^6.4.1",
"core-js": "^3.18.2",
"cross-env": "^7.0.3",
"css-loader": "^5.2.7",
"file-loader": "^6.2.0",
"fs-extra": "^9.1.0",
"html-webpack-plugin": "^4.5.2",
"husky": "^7.0.2",
"increase-memory-limit": "^1.0.7",
"ip": "^1.1.5",
"json-loader": "^0.5.7",
"less": "^3.13.1",
"less-loader": "^7.3.0",
"mini-css-extract-plugin": "^1.6.2",
"npm-run-all": "^4.1.5",
"optimize-css-assets-webpack-plugin": "^5.0.8",
"postcss": "^7.0.39",
"postcss-aspect-ratio-mini": "^1.1.0",
"postcss-less": "^4.0.1",
"postcss-loader": "^4.3.0",
"postcss-preset-env": "^6.7.0",
"postcss-px-to-viewport": "^1.1.1",
"postcss-write-svg": "^3.0.1",
"slash": "^3.0.0",
"standard-version": "^9.3.1",
"style-loader": "^2.0.0",
"terser-webpack-plugin": "^4.2.3",
"thread-loader": "^3.0.4",
"ts-loader": "^8.3.0",
"ts-node": "^10",
"tsconfig-paths": "^3.11.0",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.4.3",
"url-loader": "^4.1.1",
"validate-commit-msg": "^2.14.0",
"webpack": "^4.46.0",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.2",
"webpack-merge": "^4.2.2",
"webpackbar": "^4.0.0"
},
"devDependencies-bak": {},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 10"
],
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "yarn style"
}
},
"engines": {
"node": ">=10.0.0"
}
}