forked from rancher/dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
207 lines (207 loc) · 7.88 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
{
"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": ">=20.0.0"
},
"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-reset-reg": "cd shell && npm publish",
"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": "NODE_OPTIONS=--max_old_space_size=8192 jest --watch",
"test:ci": "NODE_OPTIONS=--max_old_space_size=8192 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: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:head",
"docker:local:stop": "docker kill cypress || true && 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 serve",
"cy:e2e": "cypress open --e2e --browser chrome",
"cy:open": "cypress open",
"cy:run": "cypress run --browser chrome",
"cy:run:sorry": "./scripts/e2e $SPEC_FILE",
"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:build": "mkdir dist && TEST_INSTRUMENT=false ./scripts/build-e2e",
"e2e:docker": "yarn docker:local:stop && ./scripts/e2e-docker-start $RANCHER_VERSION_E2E",
"e2e:prod": "BUILD_DASHBOARD=$BUILD_DASHBOARD GREP_TAGS=$GREP_TAGS TEST_USERNAME=$TEST_USERNAME TEST_BASE_URL=https://127.0.0.1/dashboard yarn cy:run:sorry",
"coverage": "npx nyc merge coverage coverage/coverage.json",
"storybook": "cd storybook && yarn install && yarn storybook",
"build-storybook": "cd storybook && yarn install --no-lockfile && NODE_OPTIONS=--max_old_space_size=4096 yarn build-storybook --quiet",
"storybook-test": "cd storybook && yarn test-storybook --stories-json ",
"docs:install": "cd docusaurus/ && yarn install",
"docs:build": "cd docusaurus/ && yarn build",
"docs:start": "cd docusaurus/ && yarn start",
"migrate": "node ./shell/scripts/vue-migrate.js",
"publish:lib": "cd pkg/rancher-components && npm publish"
},
"dependencies": {
"@aws-sdk/client-ec2": "3.658.1",
"@aws-sdk/client-eks": "3.1.0",
"@aws-sdk/client-iam": "3.658.1",
"@aws-sdk/client-kms": "3.8.1",
"@novnc/novnc": "1.2.0",
"@popperjs/core": "2.4.4",
"@rancher/icons": "2.0.29",
"ansi_up": "5.0.0",
"axios": "0.21.4",
"axios-retry": "3.1.9",
"babel-plugin-module-resolver": "4.0.0",
"cache-loader": "4.1.0",
"clipboard-polyfill": "4.0.1",
"codemirror": "5.65.17",
"codemirror-editor-vue3": "2.7.1",
"color": "4.2.3",
"cookie": "0.5.0",
"cookie-universal": "2.2.2",
"cron-validator": "1.2.0",
"cronstrue": "1.95.0",
"cross-env": "6.0.3",
"custom-event-polyfill": "1.0.7",
"d3": "7.3.0",
"d3-selection": "1.4.1",
"dagre-d3": "0.6.4",
"dayjs": "1.8.29",
"defu": "5.0.1",
"diff2html": "3.4.24",
"dompurify": "2.5.4",
"element-matches": "0.1.2",
"event-target-shim": "5.0.1",
"express": "4.17.1",
"file-saver": "2.0.2",
"floating-vue": "5.2.2",
"https": "1.0.0",
"identicon.js": "2.3.3",
"intl-messageformat": "7.8.4",
"ip": "2.0.1",
"ipaddr.js": "2.2.0",
"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",
"jsonpath-plus": "10.0.0",
"jsrsasign": "10.5.25",
"jszip": "3.8.0",
"lodash": "4.17.21",
"marked": "4.0.17",
"node-polyfill-webpack-plugin": "3.0.0",
"papaparse": "5.3.0",
"portal-vue": "3.0.0",
"sass": "1.51.0",
"sass-loader": "12.0.0",
"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",
"vue-router": "4.4.3",
"vue-select": "4.0.0-beta.6",
"vue-server-renderer": "2.6.14",
"vue3-resize": "0.2.0",
"vue3-virtual-scroll-list": "0.2.1",
"vuedraggable": "4.1.0",
"vuex": "4.0.2",
"xterm": "5.2.1",
"xterm-addon-canvas": "0.5.0",
"xterm-addon-fit": "0.8.0",
"xterm-addon-search": "0.13.0",
"xterm-addon-web-links": "0.9.0",
"xterm-addon-webgl": "0.16.0",
"yaml": "2.5.1"
},
"devDependencies": {
"@babel/plugin-proposal-optional-chaining": "7.14.5",
"@babel/plugin-proposal-private-methods": "7.18.6",
"@babel/plugin-proposal-private-property-in-object": "7.14.5",
"@babel/plugin-transform-nullish-coalescing-operator": "7.23.4",
"@babel/preset-typescript": "7.16.7",
"@cypress/code-coverage": "3.10.4",
"@cypress/grep": "3.1.5",
"@cypress/vue": "5.0.5",
"@cypress/webpack-dev-server": "3.4.1",
"@types/copy-webpack-plugin": "5.0.3",
"@types/dompurify": "3.0.0",
"@types/is-url": "1.2.30",
"@types/jest": "29.5.12",
"@types/js-yaml": "4.0.5",
"@types/lodash": "4.14.184",
"@types/node": "16.4.3",
"@typescript-eslint/eslint-plugin": "5.4.0",
"@typescript-eslint/parser": "5.4.0",
"@vue/cli-service": "5.0.8",
"@vue/eslint-config-standard": "5.1.2",
"@vue/test-utils": "2.0.2",
"@vue/vue3-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": "9.1.3",
"babel-plugin-istanbul": "6.1.1",
"babel-plugin-transform-require-context": "0.1.1",
"babel-preset-vue": "2.0.2",
"core-js": "3.25.3",
"css-loader": "6.7.3",
"csv-loader": "3.0.3",
"cy2": "4.0.9",
"cypress": "11.1.0",
"cypress-delete-downloads-folder": "0.0.4",
"cypress-mochawesome-reporter": "^3.8.2",
"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",
"flush-promises": "1.0.2",
"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",
"start-server-and-test": "1.13.1",
"style-loader": "3.3.2",
"ts-jest": "27.1.4",
"typescript": "4.5.5",
"vue": "3.2.47",
"vue-template-compiler": "2.7.16",
"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": {
"html-webpack-plugin": "^5.0.0"
}
}