forked from openstack/skyline-console
-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
170 lines (170 loc) · 6.02 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
{
"name": "skyline-console",
"version": "1.0.0",
"description": "",
"author": "OpenStack <[email protected]>",
"license": "Apache-2.0",
"scripts": {
"mock": "webpack-dev-server --open --config config/webpack.dev.js",
"dev": "cross-env NODE_ENV=development webpack-dev-server --open --config config/webpack.dev.js --env.API=dev",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=2048 webpack --progress --config config/webpack.prod.js",
"build:win": "set NODE_OPTIONS=--max-old-space-size=2048 && webpack --progress --config config/webpack.prod.js",
"build:test": "cross-env NODE_ENV=test NODE_OPTIONS=--max-old-space-size=2048 webpack --progress --config config/webpack.e2e.js",
"i18n": "grunt",
"lint": "eslint src --fix --quiet --ext .js,.jsx",
"lint:test": "eslint test --fix --quiet --ext .js",
"lint:style": "stylelint --fix \"src/**/*.less\" --custom-syntax postcss-less",
"report:delete-json": "rm -rf test/e2e/results/* || true",
"report:delete-html": "rm -rf test/e2e/report || true",
"report:pre": "npm run report:delete-json && npm run report:delete-html && mkdir test/e2e/report",
"report:merge": "npx mochawesome-merge test/e2e/results/*.json > test/e2e/report/merge-report.json",
"report:generate": "npm run report:merge && npx mochawesome-report-generator test/e2e/report/merge-report.json -o test/e2e/report",
"test:e2e:run": "npm run report:pre && cypress run || true",
"test:e2e": "npm run test:e2e:run && npm run report:generate",
"test:e2e:open": "cypress open",
"test:e2e:server": "cross-env NODE_ENV=test webpack-dev-server --open --progress --config config/webpack.e2e.js",
"test:unit": "cross-env NODE_ENV=development jest",
"test:unit:coverage": "cross-env NODE_ENV=development jest --coverage"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{css,less}": [
"stylelint --fix",
"git add"
],
"*.{js,jsx}": [
"eslint --fix",
"git add"
],
"*.{html,css,scss,less,md,json}": [
"prettier --write",
"git add"
]
},
"dependencies": {
"@ant-design/icons": "^4.0.6",
"@antv/data-set": "^0.11.4",
"@antv/g6": "^3.5.10",
"@babel/runtime-corejs3": "^7.14.0",
"ace-builds": "^1.4.12",
"antd": "^4.1.3",
"axios": "^0.21.1",
"bizcharts": "^4.0.6",
"cidr-regex": "^3.1.1",
"classnames": "^2.2.6",
"cookie": "^0.4.1",
"escape-html": "^1.0.3",
"file-saver": "^2.0.2",
"history": "4.7.2",
"intersection-observer": "^0.11.0",
"intl-messageformat": "7.8.4",
"invariant": "^2.2.4",
"ip-address": "^7.1.0",
"js-yaml": "^4.0.0",
"json2csv": "^5.0.1",
"libphonenumber-js": "^1.9.42",
"lodash": "^4.17.19",
"mobx": "^5.1.0",
"mobx-react": "^5.2.8",
"mobx-react-router": "^4.1.0",
"moment": "^2.24.0",
"nanoid": "^3.0.2",
"prop-types": "^15.7.2",
"qs": "^6.9.4",
"react": "^16.13.1",
"react-ace": "^9.2.0",
"react-document-title": "^2.0.3",
"react-dom": "^16.13.1",
"react-fast-compare": "^3.0.1",
"react-router": "^4.3.1",
"react-router-dom": "^4.3.1",
"uuid": "^8.3.2"
},
"devDependencies": {
"@babel/core": "^7.14.3",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-proposal-decorators": "^7.14.2",
"@babel/plugin-proposal-throw-expressions": "^7.12.13",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/plugin-transform-modules-commonjs": "^7.14.0",
"@babel/plugin-transform-runtime": "^7.14.3",
"@babel/preset-env": "^7.14.2",
"@babel/preset-react": "^7.13.13",
"@cypress/code-coverage": "^3.9.5",
"@cypress/skip-test": "^2.6.1",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.4",
"autoprefixer": "^9.3.1",
"babel-eslint": "^9.0.0",
"babel-jest": "^26.6.3",
"babel-loader": "^8.1.0",
"babel-plugin-import": "^1.8.0",
"babel-plugin-istanbul": "^6.0.0",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-react-css-modules": "^3.4.2",
"cache-loader": "^4.1.0",
"clean-webpack-plugin": "^1.0.0",
"compression-webpack-plugin": "5.0.1",
"cross-env": "^7.0.3",
"css-loader": "1.0.1",
"cypress": "6.8.0",
"cypress-downloadfile": "^1.2.1",
"cypress-file-upload": "^5.0.6",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"eslint": "^7.2.0",
"eslint-config-airbnb": "18.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-cypress": "^2.11.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.23.2",
"eslint-plugin-spellcheck": "^0.0.19",
"file-loader": "^6.0.0",
"grunt": "^1.2.1",
"happypack": "^5.0.1",
"html-webpack-plugin": "^3.1.0",
"husky": "^1.0.0-rc.14",
"i18next-scanner": "2.9.2",
"identity-obj-proxy": "^3.0.0",
"istanbul-lib-coverage": "^3.0.0",
"jest": "^26.6.3",
"jest-enzyme": "^7.1.2",
"less": "3.13.0",
"less-loader": "5.0.0",
"lint-staged": "^11.0.0",
"mochawesome": "^6.2.2",
"mochawesome-merge": "^4.2.0",
"mochawesome-report-generator": "^5.2.0",
"postcss-less": "2.0.0",
"postcss-loader": "3.0.0",
"prettier": "^2.3.0",
"react-css-modules": "^4.7.7",
"react-refresh": "^0.11.0",
"style-loader": "^0.20.3",
"stylelint": "^14.2.0",
"stylelint-config-css-modules": "^2.3.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-standard": "^24.0.0",
"stylelint-order": "^5.0.0",
"terser-webpack-plugin": "4.2.3",
"thread-loader": "^3.0.4",
"url-loader": "^4.1.1",
"webpack": "^4.46.0",
"webpack-cli": "3.3.0",
"webpack-dev-server": "^3.1.10",
"webpack-merge": "^4.1.4"
},
"engines": {
"node": ">=10.22.0",
"yarn": ">=1.22.4"
}
}