forked from kubevirt-ui/kubevirt-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
154 lines (154 loc) · 6.05 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
{
"dependencies": {
"@novnc/novnc": "1.3.0",
"@patternfly/quickstarts": "5.1.0",
"@patternfly/react-catalog-view-extension": "5.0.0",
"@patternfly/react-charts": "7.1.1",
"@patternfly/react-core": "^5.1.1",
"@patternfly/react-icons": "^5.1.1",
"@patternfly/react-log-viewer": "5.1.0",
"@patternfly/react-styles": "^5.1.1",
"@patternfly/react-table": "^5.1.1",
"@patternfly/react-tokens": "^5.1.1",
"@preact/signals-react": "^2.0.1",
"@types/byte-size": "^8.1.0",
"axios": "^1.6.8",
"buffer": "^6.0.3",
"byte-size": "^8.1.0",
"classnames": "^2.3.1",
"date-fns": "^2.28.0",
"fast-xml-parser": "^4.0.7",
"file-saver": "^2.0.5",
"fuzzysearch": "^1.0.3",
"global": "^4.4.0",
"immer": "^9.0.12",
"js-abbreviation-number": "^1.4.0",
"js-yaml": "^4.1.0",
"lodash.clonedeepwith": "^4.5.0",
"lodash.shuffle": "^4.2.0",
"mochawesome-report-generator": "^6.0.1",
"murmurhash-js": "1.0.0",
"randexp": "^0.5.3",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-helmet": "^6.1.0",
"react-hook-form": "^7.31.2",
"react-i18next": "^11.14.3",
"react-router-dom": "5.3.x",
"react-router-dom-v5-compat": "^6.22.0",
"react-tagsinput": "^3.19.0",
"react-use-websocket": "^4.3.1",
"showdown": ">=2.1.0",
"unique-names-generator": "^4.6.0",
"use-immer": "^0.6.0",
"validator": "^13.7.0",
"victory-core": "~36.8.1",
"xbytes": "^1.7.0",
"xterm": "^4.18.0",
"xterm-addon-fit": "^0.5.0",
"zustand": "^4.3.7"
},
"devDependencies": {
"@cypress/webpack-preprocessor": "^5.11.0",
"@kubevirt-ui/kubevirt-api": "^1.2.2",
"@openshift-console/dynamic-plugin-sdk": "1.1.0",
"@openshift-console/dynamic-plugin-sdk-internal": "1.0.0",
"@openshift-console/dynamic-plugin-sdk-webpack": "1.0.1",
"@openshift-console/plugin-shared": "^0.0.1",
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2",
"@testing-library/react-hooks": "^7.0.2",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.0.3",
"@types/js-yaml": "^4.0.5",
"@types/node": "^16.11.12",
"@types/react": "^17.0.40",
"@types/react-dom": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^5.14.0",
"@typescript-eslint/parser": "^5.14.0",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "6.6.0",
"cypress": "9.5.x",
"cypress-multi-reporters": "^1.5.0",
"eslint": "^8.10.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-chai-friendly": "^0.7.2",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsdoc": "^37.9.7",
"eslint-plugin-perfectionist": "^1.1.2",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.29.3",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"fork-ts-checker-webpack-plugin": "^6.5.0",
"husky": "^8.0.0",
"i18next-conv": "^12.1.1",
"i18next-parser": "^8.9.0",
"jest": "^27.4.5",
"lint-staged": "^13.2.2",
"mini-svg-data-uri": "^1.4.4",
"mocha": "^9.2.0",
"mocha-junit-reporter": "^2.0.2",
"mochawesome": "^7.0.1",
"mochawesome-merge": "^4.2.1",
"pluralize": "^8.0.0",
"prettier": "^2.5.1",
"process": "^0.11.10",
"resolve-url-loader": "^5.0.0",
"sass": "^1.49.7",
"sass-loader": "^12.4.0",
"style-loader": "^3.2.1",
"ts-jest": "^27.1.1",
"ts-loader": "9.x",
"ts-node": "10.x",
"tsconfig-paths-webpack-plugin": "^3.5.1",
"typescript": "^4.5.5",
"webpack": "5.75.0",
"webpack-cli": "4.10.x",
"webpack-dev-server": "^4.7.4",
"yarn": "^1.22.18"
},
"lint-staged": {
"*.{js,ts,tsx,jsx,json}": [
"eslint . --fix",
"prettier --write .",
"yarn i18n"
]
},
"name": "kubevirt-plugin",
"private": true,
"resolutions": {
"@types/react": "^17.0.40",
"@types/react-dom": "^17.0.0"
},
"scripts": {
"build": "yarn clean && NODE_ENV=production NODE_OPTIONS=--max-old-space-size=8192 yarn ts-node node_modules/.bin/webpack",
"check-types": "tsc",
"clean": "rm -rf dist",
"cypress-generate": "cd cypress && marge -o ./gui-test-screenshots/ -f cypress-report -t 'Kubevirt Cypress Test Results' -p 'Kubevirt Test Results' --showPassed false --assetsDir ./gui-test-screenshots/cypress/assets ./gui-test-screenshots/cypress.json",
"cypress-merge": "cd cypress && mochawesome-merge ./gui-test-screenshots/cypress_report*.json > ./gui-test-screenshots/cypress.json",
"cypress-postreport": "yarn cypress-merge && yarn cypress-generate",
"dev": "yarn clean && NODE_ENV=development NODE_OPTIONS=--max-old-space-size=8192 yarn ts-node node_modules/.bin/webpack serve --progress",
"export-pos": "./i18n-scripts/export-pos.sh",
"i18n": "i18next && node ./i18n-scripts/set-english-defaults.js && ./i18n-scripts/replace-br.sh",
"i18n-to-po": "node ./i18n-scripts/i18n-to-po.js",
"lint": "eslint src cypress --color",
"lint:fix": "yarn lint --fix",
"memsource-download": "./i18n-scripts/memsource-download.sh",
"memsource-upload": "./i18n-scripts/memsource-upload.sh",
"po-to-i18n": "node ./i18n-scripts/po-to-i18n.js",
"postinstall": "cp node_modules/@openshift-console/dynamic-plugin-sdk/docs/console-extensions.md .",
"prepare": "husky install",
"start-console": "./start-console.sh",
"start-console-with-monitoring": "./start-console.sh monitoring-plugin",
"test": "jest",
"test-cov": "jest --coverage",
"test-cypress": "cd cypress && $(npm bin)/cypress open --config-file ./cypress.json --env openshift=true",
"test-cypress-docker": "echo 'visit http://localhost:10000' && cd cypress && DISPLAY=:14 LIBGL_ALWAYS_INDIRECT=0 $(npm bin)/cypress open --config-file ./cypress.json --env openshift=true",
"test-cypress-headless": "cd cypress && node --max-old-space-size=4096 $(npm bin)/cypress run --config-file ./cypress.json --env openshift=true --headless",
"ts-node": "ts-node -O '{\"module\":\"commonjs\"}'"
},
"version": "0.0.1"
}