-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 3.62 KB
/
package.json
File metadata and controls
89 lines (89 loc) · 3.62 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
{
"name": "console-plugin-template",
"version": "0.0.1",
"description": "Template project for OpenShift Console plugins",
"private": true,
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/openshift/console-plugin-template.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"
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@babel/preset-env": "^7.29.0",
"@cypress/webpack-preprocessor": "^7.0.2",
"@openshift-console/dynamic-plugin-sdk": "4.20-latest",
"@openshift-console/dynamic-plugin-sdk-webpack": "4.20-latest",
"@patternfly/react-core": "^6.2.2",
"@patternfly/react-icons": "^6.2.2",
"@patternfly/react-table": "^6.2.2",
"@types/node": "^22.0.0",
"@types/react": "^17.0.37",
"@types/react-router-dom": "^5.3.3",
"babel-loader": "^10.0.0",
"copy-webpack-plugin": "^14.0.0",
"css-loader": "^7.1.4",
"cypress": "^15.11.0",
"cypress-multi-reporters": "^2.0.5",
"eslint": "^9.7.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-cypress": "^6.1.0",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"globals": "^17.4.0",
"i18next": "^23.11.5",
"i18next-parser": "^9.4.0",
"mocha": "^10.2.0",
"mocha-junit-reporter": "^2.2.1",
"mochawesome": "^7.1.4",
"mochawesome-merge": "^4.3.0",
"pluralize": "^8.0.0",
"prettier": "^3.8.1",
"prettier-stylelint": "^0.4.2",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-i18next": "^11.7.3",
"react-router": "5.3.x",
"react-router-dom": "5.3.x",
"react-router-dom-v5-compat": "^6.11.2",
"style-loader": "^4.0.0",
"stylelint": "^17.4.0",
"stylelint-config-standard": "^40.0.0",
"ts-loader": "^9.5.4",
"ts-node": "^10.9.2",
"typescript": "^5.9.3",
"typescript-eslint": "^8.56.1",
"webpack": "^5.100.0",
"webpack-cli": "^6.0.1",
"webpack-dev-server": "^5.2.3"
},
"consolePlugin": {
"name": "console-plugin-template",
"version": "0.0.1",
"displayName": "OpenShift Console Plugin Template",
"description": "Template project for OpenShift Console plugins. Edit package.json to change this message and the plugin name.",
"exposedModules": {
"ExamplePage": "./components/ExamplePage"
},
"dependencies": {
"@console/pluginAPI": "^4.20.0"
}
},
"packageManager": "yarn@4.13.0"
}