forked from red-hat-storage/odf-console
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
143 lines (143 loc) · 6.35 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
{
"name": "odf-console",
"version": "0.0.0",
"description": "ODF console",
"license": "MIT",
"private": true,
"workspaces": [
"packages/*"
],
"repository": "[email protected]:red-hat-storage/odf-console.git",
"scripts": {
"clean": "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": "yarn clean && NODE_ENV=production I8N_NS=plugin__odf-console yarn ts-node ./node_modules/.bin/webpack",
"build-mco": "yarn clean && NODE_ENV=production MODE=MCO I8N_NS=plugin__odf-multicluster-console yarn ts-node ./node_modules/.bin/webpack",
"build-dev": "yarn clean && yarn ts-node ./node_modules/.bin/webpack",
"dev": "yarn clean && I8N_NS=plugin__odf-console yarn ts-node ./node_modules/.bin/webpack serve",
"dev-mco": "yarn clean && MODE=MCO I8N_NS=plugin__odf-multicluster-console yarn ts-node ./node_modules/.bin/webpack serve",
"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": {
"@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.7",
"@openshift-console/dynamic-plugin-sdk-internal": "0.0.2",
"@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",
"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": "^3.11.2"
},
"consolePlugin": {
"name": "odf-console",
"version": "0.0.0",
"displayName": "ODF(OpenShift Data Foundation) Plugin",
"description": "Console plugin for ODF",
"dependencies": {
"@console/pluginAPI": "*"
},
"exposedModules": {
"dashboard": "@odf/core/components/odf-dashboard/dashboard",
"features": "@odf/core/features",
"wizard": "@odf/core/components/create-storage-system/create-storage-system",
"dataPolicies": "@odf/mco/components/data-policies/data-policies-list",
"createDataPolicy": "@odf/mco/components/data-policies/create-dr-policy/create-dr-policy",
"obc": "@odf/core/components/mcg/ObjectBucketClaim",
"createOBC": "@odf/core/components/mcg/CreateObjectBucketClaim",
"ob": "@odf/core/components/mcg/ObjectBucket",
"ocs": "@odf/ocs/dashboards/odf-system-dashboard",
"blockPoolDetailsPage": "@odf/ocs/block-pool/BlockPoolDetailsPage",
"createBlockPools": "@odf/ocs/block-pool/CreateBlockPool",
"bsCreate": "@odf/core/components/create-bs/create-bs-page",
"mcoDashboard": "@odf/mco/components/mco-dashboard/dashboard",
"nsCreate": "@odf/core/components/namespace-store/create-namespace-store",
"bcCreate": "@odf/core/components/bucket-class/create-bc",
"bsDetails": "@odf/core/components/resource-pages/BackingStoreDetailsPage",
"bcDetails": "@odf/core/components/resource-pages/BucketClassDetailsPage",
"nsDetails": "@odf/core/components/resource-pages/NamespaceStoreDetailsPage"
}
}
}