forked from red-hat-storage/odf-console
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
120 lines (120 loc) · 5.39 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
{
"name": "odf-plugin",
"version": "0.0.0",
"description": "ODF plugin",
"license": "MIT",
"private": true,
"workspaces": [
"packages/*"
],
"repository": "git@github.com:red-hat-storage/odf-console.git",
"scripts": {
"clean": "yarn clean-mco && yarn clean-odf",
"clean-mco": "cd plugins/mco && rm -rf ./dist",
"clean-odf": "cd plugins/odf && rm -rf ./dist",
"cypress-merge": "mochawesome-merge ./gui-test-screenshots/cypress_report*.json > ./gui-test-screenshots/cypress.json",
"cypress-generate": "marge -o ./gui-test-screenshots/ -f cypress-report -t 'OpenShift Console Cypress Test Results' -p 'OpenShift Cypress 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": "node_modules/.bin/cypress open --config-file ./cypress/cypress.json --env openshift=true",
"test-cypress-headless": "node --max-old-space-size=4096 node_modules/.bin/cypress run --config-file ./cypress/cypress.json --env openshift=true --browser ${BRIDGE_E2E_BROWSER_NAME:=chrome} --headless",
"build:plugin": "yarn clean-${PLUGIN} && cd plugins/${PLUGIN} && ts-node ../../scripts/generatePluginPackage.ts && NODE_ENV=${NODE_ENV} I8N_NS=${I8N_NS} yarn ts-node ../../node_modules/.bin/webpack -c ../../webpack.config.ts",
"build": "NODE_ENV=production PLUGIN=odf I8N_NS=plugin__odf-console yarn build:plugin",
"build-mco": "NODE_ENV=production PLUGIN=mco I8N_NS=plugin__odf-multicluster-console yarn build:plugin",
"build-dev": "NODE_ENV=development PLUGIN=odf I8N_NS=plugin__odf-console yarn build:plugin",
"server:plugin": "yarn clean-${PLUGIN} && cd plugins/${PLUGIN} && ts-node ../../scripts/generatePluginPackage.ts && NODE_ENV=development I8N_NS=${I8N_NS} yarn ts-node ../../node_modules/.bin/webpack serve -c ../../webpack.config.ts --progress",
"dev": "PLUGIN=odf I8N_NS=plugin__odf-console yarn server:plugin",
"dev-mco": "PLUGIN=mco I8N_NS=plugin__odf-multicluster-console yarn server:plugin",
"http-server": "./http-server.sh ./dist",
"ts-node": "ts-node -O '{\"module\":\"commonjs\"}' -I '/node_modules/(?!(@odf)/)/'",
"lint-css": "yarn stylelint packages/**/**/*.scss",
"lint-css-fix": "yarn stylelint packages/**/**/*.scss --fix",
"lint": "yarn eslint --ext .ts,.tsx ./packages/ && yarn lint-css",
"lint-fix": "yarn eslint --fix --ext .ts,.tsx ./packages/ && yarn lint-css-fix",
"format": "yarn prettier -w .",
"format-test": "yarn prettier -c .",
"prepare": "husky install",
"i18n": "i18next \"packages/**/*.{ts,tsx}\" [-oc] -c i18next-parser.config.js"
},
"dependencies": {
"@openshift-console/plugin-shared": "^0.0.1",
"@patternfly/patternfly": "4.103.6",
"@patternfly/react-charts": "^6.15.3",
"@patternfly/react-core": "4.175.4",
"@patternfly/react-icons": "^4.11.0",
"@patternfly/react-table": "^4.29.0",
"@types/react-dnd-html5-backend": "^3.0.2",
"classnames": "^2.3.1",
"fuzzysearch": "^1.0.3",
"lodash-es": "^4.17.21",
"react": "^17.0.1",
"react-copy-to-clipboard": "5.x",
"react-dnd": "^15.1.1",
"react-dnd-html5-backend": "^15.1.2",
"react-dom": "^17.0.1",
"react-helmet": "^6.1.0",
"react-i18next": "^11.11.4",
"react-linkify": "^0.2.2",
"react-redux": "^7.2.6",
"react-router": "5.2.0",
"react-router-dom": "5.2.0",
"react-tagsinput": "^3.19.0"
},
"devDependencies": {
"@cypress/webpack-preprocessor": "^5.9.1",
"@openshift-console/dynamic-plugin-sdk": "0.0.10",
"@openshift-console/dynamic-plugin-sdk-internal": "0.0.7",
"@openshift-console/dynamic-plugin-sdk-internal-kubevirt": "^0.0.10",
"@openshift-console/dynamic-plugin-sdk-webpack": "0.0.6",
"@types/jest": "^27.0.3",
"@types/lodash-es": "^4.17.4",
"@types/node": "^14.14.34",
"@types/react": "16.8.13",
"@types/react-helmet": "^6.1.1",
"@types/react-router-dom": "5.1.2",
"@types/webpack-dev-server": "^3.11.5",
"@typescript-eslint/eslint-plugin": "^4.28.5",
"@typescript-eslint/parser": "^4.28.5",
"cache-loader": "1.x",
"comment-json": "4.x",
"copy-webpack-plugin": "^6.4.1",
"css-loader": "0.28.x",
"cypress": "^8.3.1",
"cypress-multi-reporters": "^1.5.0",
"eslint": "^7.31.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-chai-friendly": "^0.7.2",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"eventsource": "^1.1.1",
"file-loader": "1.x",
"http-server": "0.12.x",
"husky": "^7.0.0",
"i18next-parser": "^3.3.0",
"jest": "^27.0.6",
"marge": "^1.0.1",
"mini-css-extract-plugin": "0.4.x",
"mocha-junit-reporter": "^2.0.0",
"mochawesome": "^6.2.2",
"mochawesome-merge": "^4.2.0",
"node-sass": "^5.0.0",
"prettier": "2.3.2",
"read-pkg": "5.x",
"resolve-url-loader": "2.x",
"sass-loader": "6.x",
"style-loader": "^0.23.1",
"stylelint": "^13.13.1",
"stylelint-config-sass-guidelines": "^8.0.0",
"stylelint-config-standard": "^22.0.0",
"stylelint-order": "^4.1.0",
"thread-loader": "1.x",
"ts-loader": "6.2.2",
"ts-node": "5.0.1",
"typescript": "3.8.3",
"webpack": "5.64.4",
"webpack-cli": "4.5.x",
"webpack-dev-server": "^4.9.2"
}
}