-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
130 lines (130 loc) · 5.39 KB
/
package.json
File metadata and controls
130 lines (130 loc) · 5.39 KB
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
{
"name": "netapp-openshift-console-protect",
"version": "25.7.30",
"description": "NetApp OpenShift Console Plugin provides a single pane integration with NetApp Intelligent Data Management solutions for containers and virtual machines",
"private": true,
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/NetApp/netapp-openshift-console-protect.git"
},
"scripts": {
"clean": "rm -rf dist",
"build": "yarn clean && NODE_ENV=production yarn webpack",
"build-dev": "yarn clean && yarn webpack",
"start": "yarn webpack serve --progress",
"start-console": "./start-console.sh",
"i18n": "./i18n-scripts/build-i18n.sh && node ./i18n-scripts/set-english-defaults.js",
"lint": "yarn eslint src integration-tests --fix && stylelint 'src/**/*.css' --allow-empty-input --fix",
"test-cypress": "cd integration-tests && cypress open",
"test-cypress-headless": "cd integration-tests && node --max-old-space-size=4096 ../node_modules/.bin/cypress run --browser ${BRIDGE_E2E_BROWSER_NAME:=electron}",
"cypress-merge": "mochawesome-merge ./integration-tests/screenshots/cypress_report*.json > ./integration-tests/screenshots/cypress.json",
"cypress-generate": "marge -o ./integration-tests/screenshots/ -f cypress-report -t 'OpenShift Console Plugin Template Cypress Test Results' -p 'OpenShift Cypress Plugin Template Test Results' --showPassed false --assetsDir ./integration-tests/screenshots/cypress/assets ./integration-tests/screenshots/cypress.json",
"cypress-postreport": "yarn cypress-merge && yarn cypress-generate",
"webpack": "node -r ts-node/register ./node_modules/.bin/webpack",
"test": "jest '**'",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"podman-build": "yarn clean && podman build -f Dockerfile --platform=linux/amd64 -t ghcr.io/netapp/netapp-openshift-console-protect:$npm_package_version",
"podman-push": "podman push ghcr.io/netapp/netapp-openshift-console-protect:$npm_package_version"
},
"devDependencies": {
"@cypress/webpack-preprocessor": "6.0.2",
"@openshift-console/dynamic-plugin-sdk": "1.8.0",
"@openshift-console/dynamic-plugin-sdk-webpack": "1.3.0",
"@patternfly/react-core": "^5.1.1",
"@patternfly/react-icons": "^5.1.1",
"@patternfly/react-styles": "^5.1.1",
"@patternfly/react-table": "5.1.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.5",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^29.2.4",
"@types/node": "^18.0.0",
"@types/react": "^17.0.37",
"@types/react-helmet": "^6.1.4",
"@types/react-router-dom": "^5.3.2",
"@typescript-eslint/eslint-plugin": "^5.14.0",
"@typescript-eslint/parser": "^5.14.0",
"copy-webpack-plugin": "^6.4.1",
"css-loader": "^6.7.1",
"cypress": "^12.17.4",
"cypress-multi-reporters": "^1.6.2",
"eslint": "^8.10.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.29.1",
"i18next-parser": "^3.11.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"mocha-junit-reporter": "^2.2.0",
"mochawesome": "^7.1.3",
"mochawesome-merge": "^4.3.0",
"pluralize": "^8.0.0",
"prettier": "^2.7.1",
"prettier-stylelint": "^0.4.2",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-helmet": "^6.1.0",
"react-i18next": "^11.7.3",
"react-markdown": "8.0.6",
"react-router": "5.3.x",
"react-router-dom": "5.3.x",
"style-loader": "^3.3.1",
"stylelint": "^15.3.0",
"stylelint-config-standard": "^31.0.0",
"ts-jest": "^29.0.3",
"ts-loader": "^9.3.1",
"ts-node": "^10.8.1",
"typescript": "^4.7.4",
"webpack": "^5.76.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.11.1",
"yaml-loader": "^0.8.1"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "jsdom",
"setupFilesAfterEnv": [
"<rootDir>/src/setupTests.ts"
],
"moduleNameMapper": {
"\\.(css|less|scss|sass)$": "identity-obj-proxy",
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|md)$": "<rootDir>/src/__mocks__/fileMock.js"
},
"testMatch": [
"**/__tests__/**/*.[jt]s?(x)",
"**/?(*.)+(spec|test).[jt]s?(x)"
]
},
"consolePlugin": {
"name": "netapp-openshift-console-protect",
"version": "25.7.30",
"displayName": "NetApp Console for Trident Protect",
"description": "NetApp Console Plug-in for Red Hat OpenShift provides a single pane integration with NetApp Intelligent Data Management solutions for containers and virtual machines",
"exposedModules": {
"ConsoleProtect": "./components/protection/SusanooProtection",
"ConsoleProtectionDetails": "./components/protection/SusanooProtectionDetails",
"ConsoleProtectBackend": "./components/backend/SusanooProtectBackendSetup",
"ConsoleProtectObjectCreate": "./utils/SusanooObjectCreate"
},
"dependencies": {
"@console/pluginAPI": "*"
}
},
"peerDependencies": {
"@babel/core": "^7.0.1",
"@babel/preset-env": "^7.0.0",
"babel-loader": "^8.0.2",
"i18next": "^23.11.5",
"mocha": "^10.5.1"
},
"dependencies": {
"@openshift-console/plugin-shared": "^0.0.3",
"jwt-decode": "^4.0.0",
"jwt-encode": "^1.0.1",
"remark-gfm": "^4.0.0"
}
}