forked from harvester/dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
217 lines (217 loc) · 7.92 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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
{
"name": "dashboard",
"description": "Rancher Dashboard",
"repository": "https://github.com/rancherlabs/dashboard",
"license": "Apache-2.0",
"author": "SUSE",
"private": true,
"version": "0.0.0",
"engines": {
"node": ">=14"
},
"workspaces": [
"pkg/rancher-components"
],
"scripts": {
"build-pkg": "yarn lint && ./shell/scripts/build-pkg.sh",
"publish-pkg": "./shell/scripts/publish-pkg.sh",
"serve-pkgs": "./shell/scripts/serve-pkgs",
"publish-shell": "./shell/scripts/publish-shell.sh",
"clean": "./shell/scripts/clean",
"lint": "./node_modules/.bin/eslint --max-warnings 0 --ext .js,.ts,.vue .",
"lint:lib": "cd pkg/rancher-components && yarn lint",
"lint-l10n": "./node_modules/.bin/yamllint ./shell/assets/translations",
"test": "jest --watch",
"test:ci": "jest --collectCoverage --silent",
"install:ci": "yarn install --frozen-lockfile",
"dev": "bash -c 'source ./scripts/version && NODE_ENV=dev ./node_modules/.bin/vue-cli-service serve'",
"mem-dev": "bash -c 'source ./scripts/version && NODE_ENV=dev node --max-old-space-size=8192 ./node_modules/.bin/vue-cli-service serve'",
"docker-dev": "docker run --rm --name dashboard-dev -p 8005:8005 -e API=$API -v $(pwd):/src -v dashboard_node:/src/node_modules rancher/dashboard:dev",
"docker:local:start": "docker run -d --restart=unless-stopped -p 80:80 -p 443:443 -e CATTLE_BOOTSTRAP_PASSWORD=password -e CATTLE_PASSWORD_MIN_LENGTH=3 --name cypress --privileged rancher/rancher:v2.7-head",
"docker:local:stop": "docker kill cypress || docker rm cypress || true",
"build": "NODE_OPTIONS=--max_old_space_size=4096 ./node_modules/.bin/vue-cli-service build",
"build:lib": "cd pkg/rancher-components && yarn build:lib",
"analyze": "./node_modules/.bin/vue-cli-service build --report",
"start": "./node_modules/.bin/vue-cli-service serve",
"start:dev": "NODE_ENV=dev yarn start",
"start:prod": "NODE_OPTIONS=--max_old_space_size=4096 DEV_PORTS=true NODE_ENV=production yarn start",
"generate": "yarn build",
"dev-debug": "node --inspect ./node_modules/.bin/vue-cli-service",
"cy:e2e": "cypress open --e2e --browser chrome",
"cy:open": "cypress open",
"cy:run": "cypress run --browser chrome",
"cy:run:sorry": "./scripts/e2e",
"e2e:pre-dev": "yarn docker:local:stop && yarn docker:local:start && NODE_ENV=dev TEST_INSTRUMENT=true yarn build",
"e2e:dev": "START_SERVER_AND_TEST_INSECURE=1 server-test start:dev https-get://localhost:8005 cy:run:sorry",
"e2e:pre-prod": "yarn docker:local:stop && yarn docker:local:start && DEV_PORTS=true TEST_INSTRUMENT=true yarn build",
"e2e:prod": "START_SERVER_AND_TEST_INSECURE=1 server-test start:prod https-get://localhost:8005 cy:run:sorry",
"coverage": "npx nyc merge coverage coverage/coverage.json",
"storybook": "cd storybook && yarn install && yarn storybook",
"build-storybook": "cd storybook && yarn install && NODE_OPTIONS=--max_old_space_size=4096 yarn build-storybook --quiet",
"docs:install": "cd docusaurus/ && yarn install",
"docs:build": "cd docusaurus/ && yarn build",
"docs:start": "cd docusaurus/ && yarn start",
"publish:lib": "cd pkg/rancher-components && npm publish"
},
"dependencies": {
"@aws-sdk/client-ec2": "3.1.0",
"@aws-sdk/client-eks": "3.1.0",
"@aws-sdk/client-kms": "3.8.1",
"@innologica/vue-dropdown-menu": "0.1.3",
"@novnc/novnc": "1.2.0",
"@nuxtjs/axios": "5.12.0",
"@nuxtjs/webpack-profile": "0.1.0",
"@popperjs/core": "2.4.4",
"ansi_up": "5.0.0",
"babel-plugin-module-resolver": "4.0.0",
"browser-env": "3.3.0",
"cookie": "0.5.0",
"cookie-universal-nuxt": "2.1.4",
"cron-validator": "1.2.0",
"cronstrue": "1.95.0",
"cross-env": "6.0.3",
"d3": "7.3.0",
"d3-selection": "1.4.1",
"dagre-d3": "0.6.4",
"dayjs": "1.8.29",
"diff2html": "2.11.2",
"dompurify": "2.4.5",
"event-target-shim": "5.0.1",
"express": "4.17.1",
"file-saver": "2.0.2",
"identicon.js": "2.3.3",
"intl-messageformat": "7.8.4",
"is-base64": "^1.1.0",
"is-url": "1.2.4",
"jexl": "2.2.2",
"jquery": "3.5.1",
"js-cookie": "2.2.1",
"js-yaml": "4.1.0",
"js-yaml-loader": "1.2.2",
"jsdiff": "1.1.1",
"jsdom-global": "3.0.2",
"jsonpath-plus": "6.0.1",
"jsrsasign": "10.5.25",
"jszip": "3.8.0",
"lodash": "4.17.21",
"marked": "4.0.17",
"papaparse": "5.3.0",
"portal-vue": "2.1.7",
"rancher-icons": "rancher/icons#v2.0.14",
"require-extension-hooks": "0.3.3",
"require-extension-hooks-babel": "1.0.0",
"require-extension-hooks-vue": "3.0.0",
"sass": "1.51.0",
"sass-loader": "10.2.1",
"set-cookie-parser": "2.4.6",
"shell-quote": "1.7.3",
"sinon": "8.1.1",
"ts-node": "8.10.2",
"ufo": "0.7.11",
"unfetch": "4.2.0",
"url-parse": "1.5.10",
"v-tooltip": "2.0.3",
"vue-client-only": "2.1.0",
"vue-clipboard2": "0.3.1",
"vue-codemirror": "4.0.6",
"vue-js-modal": "1.3.35",
"vue-meta": "2.4.0",
"vue-no-ssr": "1.1.1",
"vue-resize": "0.4.5",
"vue-router": "3.6.5",
"vue-select": "3.18.3",
"vue-server-renderer": "2.6.14",
"vue-shortkey": "3.1.7",
"vue-virtual-scroll-list": "^2.3.4",
"vue2-transitions": "0.3.0",
"vuedraggable": "2.24.3",
"vuex": "3.6.2",
"xterm": "5.0.0",
"xterm-addon-fit": "0.6.0",
"xterm-addon-search": "0.10.0",
"xterm-addon-web-links": "0.7.0",
"xterm-addon-webgl": "0.13.0",
"yaml": "2.0.0"
},
"devDependencies": {
"@babel/plugin-proposal-optional-chaining": "7.14.5",
"@babel/plugin-proposal-private-property-in-object": "7.14.5",
"@babel/preset-typescript": "7.16.7",
"@cypress/code-coverage": "3.10.4",
"@cypress/vue": "5.0.5",
"@cypress/webpack-dev-server": "3.4.1",
"@nuxt/babel-preset-app": "^2.16.3",
"@nuxtjs/eslint-config-typescript": "6.0.1",
"@types/copy-webpack-plugin": "^5.0.3",
"@types/dompurify": "3.0.0",
"@types/jest": "27.4.1",
"@types/js-yaml": "^4.0.5",
"@types/lodash": "4.14.184",
"@types/node": "16.4.3",
"@types/vue-select": "3.16.0",
"@typescript-eslint/eslint-plugin": "4.33.0",
"@typescript-eslint/parser": "4.33.0",
"@vue/cli-service": "4.5.18",
"@vue/eslint-config-standard": "5.1.2",
"@vue/test-utils": "1.2.1",
"@vue/vue2-jest": "27.0.0",
"add": "2.0.6",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "10.1.0",
"babel-jest": "27.5.1",
"babel-loader": "8.2.4",
"babel-plugin-istanbul": "6.1.1",
"babel-plugin-transform-require-context": "0.1.1",
"babel-preset-vue": "2.0.2",
"core-js": "3.21.1",
"css-loader": "6.7.3",
"csv-loader": "3.0.3",
"cy2": "2.0.0",
"cypress": "10.3.1",
"eslint": "7.32.0",
"eslint-config-standard": "16.0.3",
"eslint-import-resolver-node": "0.3.4",
"eslint-module-utils": "2.6.1",
"eslint-plugin-cypress": "2.12.1",
"eslint-plugin-import": "2.23.4",
"eslint-plugin-jest": "24.4.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-vue": "9.10.0",
"frontmatter-markdown-loader": "3.7.0",
"jest": "27.5.1",
"jest-serializer-vue": "2.0.2",
"lodash.debounce": "4.0.8",
"nodemon": "2.0.22",
"nyc": "15.1.0",
"serve-static": "1.14.1",
"start-server-and-test": "1.13.1",
"style-loader": "3.3.2",
"ts-jest": "27.1.4",
"typescript": "4.1.6",
"vue": "2.7.14",
"vue-template-compiler": "2.7.14",
"webpack-bundle-analyzer": "4.5.0",
"webpack-virtual-modules": "0.4.3",
"worker-loader": "3.0.8",
"yaml-lint": "1.7.0",
"yarn": "1.22.18"
},
"resolutions": {
"**/webpack": "4",
"ejs": "^3.1.7",
"json5": ">=2.2.2",
"d3-color": ">=3.1.0",
"glob-parent": ">=5.1.2",
"node-forge": ">=1.3.0",
"qs": ">=6.7.3",
"nth-check": ">=2.0.1",
"follow-redirects": ">=1.14.7",
"merge": ">=2.1.1"
},
"nyc": {
"reporter": [
"json"
],
"report-dir": "coverage/e2e"
}
}