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.72 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
{
"name": "kubevirt-plugin",
"version": "0.0.1",
"private": true,
"scripts": {
"clean": "rm -rf dist",
"build": "NODE_ENV=production NODE_OPTIONS=--max-old-space-size=8192 rm -rf dist && yarn ts-node node_modules/.bin/webpack",
"dev": "NODE_ENV=development NODE_OPTIONS=--max-old-space-size=8192 rm -rf dist && yarn ts-node ./node_modules/.bin/webpack serve --progress",
"lint": "eslint src cypress --color",
"lint:fix": "yarn lint --fix",
"check-types": "tsc",
"ts-node": "ts-node -O '{\"module\":\"commonjs\"}'",
"postinstall": "cp node_modules/@openshift-console/dynamic-plugin-sdk/doc/console-extensions.md .",
"test": "jest",
"test-cov": "jest --coverage",
"cypress-merge": "cd cypress && mochawesome-merge ./gui-test-screenshots/cypress_report*.json > ./gui-test-screenshots/cypress.json",
"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-postreport": "yarn cypress-merge && yarn cypress-generate",
"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",
"start-console": "./start-console.sh",
"i18n-to-po": "node ./i18n-scripts/i18n-to-po.js",
"po-to-i18n": "node ./i18n-scripts/po-to-i18n.js",
"i18n": "./i18n-scripts/build-i18n.sh && node ./i18n-scripts/set-english-defaults.js",
"export-pos": "./i18n-scripts/export-pos.sh",
"memsource-upload": "./i18n-scripts/memsource-upload.sh",
"memsource-download": "./i18n-scripts/memsource-download.sh"
},
"consolePlugin": {
"name": "kubevirt-plugin",
"version": "0.0.0",
"displayName": "Kubevirt Plugin",
"exposedModules": {
"kubevirtFlags": "./utils/flags",
"VirtualMachinesList": "./views/virtualmachines/list/VirtualMachinesList.tsx",
"TemplatesCatalog": "./views/catalog/Catalog.tsx",
"VirtualMachineNavPage": "./views/virtualmachines/details/VirtualMachineNavPage.tsx",
"VirtualMachinesInstancePage": "./views/virtualmachinesinstance/details/VirtualMachinesInstancePage.tsx",
"useVirtualMachineActionsProvider": "./views/virtualmachines/actions/hooks/useVirtualMachineActionsProvider.ts",
"VirtualMachinesInstancesList": "./views/virtualmachinesinstance/list/VirtualMachinesInstancesList.tsx",
"useVirtualMachineInstanceActionsProvider": "./views/virtualmachinesinstance/actions/hooks/useVirtualMachineInstanceActionsProvider.tsx",
"ClusterOverviewPage": "./views/clusteroverview/overview/components/ClusterOverviewPage.tsx",
"VirtualMachineTemplatesList": "./views/templates/list/VirtualMachineTemplatesList.tsx",
"modalProvider": "./utils/components/ModalProvider/ModalProvider.tsx",
"TemplateNavPage": "./views/templates/details/TemplateNavPage.tsx",
"ConsoleStandAlone": "./utils/components/Consoles/ConsoleStandAlone.tsx",
"yamlTemplates": "src/templates/index.ts"
},
"dependencies": {
"@console/pluginAPI": "*"
}
},
"dependencies": {
"@kubevirt-ui/components": "^0.0.10",
"@novnc/novnc": "1.3.0",
"@patternfly/quickstarts": "2.0.1",
"@patternfly/react-catalog-view-extension": "^4.43.15",
"@patternfly/react-charts": "^6.74.3",
"@patternfly/react-core": "4.206.2",
"@patternfly/react-icons": "^4.57.2",
"@patternfly/react-table": "^4.90.3",
"@types/byte-size": "^8.1.0",
"axios": "^0.27.2",
"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",
"global": "^4.4.0",
"immer": "^9.0.12",
"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.x",
"react-tagsinput": "^3.19.0",
"unique-names-generator": "^4.6.0",
"use-immer": "^0.6.0",
"validator": "^13.7.0",
"xbytes": "^1.7.0",
"xterm": "^4.18.0",
"xterm-addon-fit": "^0.5.0"
},
"devDependencies": {
"@cypress/webpack-preprocessor": "^5.11.0",
"@kubevirt-ui/kubevirt-api": "^0.0.43",
"@openshift-console/dynamic-plugin-sdk": "0.0.11",
"@openshift-console/dynamic-plugin-sdk-internal": "0.0.10",
"@openshift-console/dynamic-plugin-sdk-webpack": "0.0.7",
"@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-router-dom": "5.x",
"@typescript-eslint/eslint-plugin": "^5.14.0",
"@typescript-eslint/parser": "^5.14.0",
"copy-webpack-plugin": "^6.4.1",
"css-loader": "6.6.0",
"cypress": "8.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-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",
"i18next-conv": "^12.1.1",
"i18next-parser": "3.x",
"jest": "^27.4.5",
"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",
"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.68.0",
"webpack-cli": "4.9.x",
"webpack-dev-server": "^4.7.4",
"yarn": "^1.22.18"
},
"resolutions": {
"webpack": "^5.68.0",
"@types/react": "17.0.40"
}
}