forked from openshift/logging-view-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
98 lines (98 loc) · 3.86 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
{
"name": "logging-view-plugin",
"version": "0.0.1",
"private": true,
"repository": "[email protected]/jgbernalp/logging-console-plugin",
"scripts": {
"clean": "rm -rf dist",
"clean:standalone": "rm -rf dist-standalone",
"build": "npm run clean && NODE_ENV=production npm run ts-node node_modules/.bin/webpack",
"build:dev": "npm run clean && npm run ts-node node_modules/.bin/webpack",
"build:standalone": "npm run clean:standalone && npm run ts-node node_modules/.bin/webpack -- --config webpack.standalone.config.ts",
"build:standalone:instrumented": "npm run clean:standalone && npm run ts-node node_modules/.bin/webpack -- --config webpack.standalone.instrumented.config.ts",
"start:dist": "serve -s ./dist -p 9003 -C",
"start:standalone": "serve -s ./dist-standalone -p 9003 -C",
"dev": "npm run ts-node node_modules/.bin/webpack serve",
"dev:standalone": "npm run ts-node node_modules/.bin/webpack serve -- --config webpack.standalone.config.ts",
"start:console": "./scripts/start-console.sh -e",
"i18n": "i18next \"src/**/*.{js,jsx,ts,tsx}\" [-oc] -c i18next-parser.config.js",
"ts-node": "ts-node -O '{\"module\":\"commonjs\"}'",
"lint": "eslint ./src --fix",
"cypress:open": "cypress open",
"cypress:run": "cypress run",
"cypress:run:ci": "NO_COLOR=1 npx cypress run --browser chrome",
"test": "concurrently --kill-others-on-fail \"npm run test:unit\" \"npm run test:e2e\"",
"test:unit": "jest --config jest.config.js",
"test:e2e": "./scripts/run-cypress.sh",
"test:unit:watch": "jest --config jest.config.js --watch",
"test:unit:coverage": "jest --config jest.config.js --coverage",
"pre-commit:check": "concurrently -n \"lint,unit\" --kill-others-on-fail \"npm run lint\" \"npm run test:unit\"",
"prepare": "husky install"
},
"devDependencies": {
"@cypress/code-coverage": "^3.10.0",
"@jsdevtools/coverage-istanbul-loader": "^3.0.5",
"@openshift-console/dynamic-plugin-sdk": "^0.0.8",
"@openshift-console/dynamic-plugin-sdk-webpack": "^0.0.6",
"@patternfly/react-core": "4.175.4",
"@types/jest": "^28.1.4",
"@types/node": "^17.0.21",
"@types/react": "^17.0.37",
"@types/react-dom": "17.0.17",
"@types/react-helmet": "^6.1.4",
"@types/react-router-dom": "^5.3.2",
"@types/webpack-dev-server": "^4.7.2",
"@typescript-eslint/eslint-plugin": "^5.15.0",
"@typescript-eslint/parser": "^5.15.0",
"concurrently": "^7.3.0",
"css-loader": "^6.7.1",
"cypress": "^9.6.0",
"eslint": "^8.11.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.29.4",
"html-webpack-plugin": "^5.5.0",
"husky": "^8.0.1",
"jest": "^28.1.2",
"nyc": "^15.1.0",
"prettier": "^2.6.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-helmet": "^6.1.0",
"react-i18next": "^11.8.11",
"react-router": "5.2.0",
"react-router-dom": "5.2.0",
"serve": "^14.0.1",
"style-loader": "^3.3.1",
"ts-jest": "^28.0.5",
"ts-loader": "^9.2.8",
"ts-node": "^10.7.0",
"typescript": "^4.6.2",
"webpack": "^5.68.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.7.4"
},
"consolePlugin": {
"name": "logging-view-plugin",
"version": "0.0.1",
"displayName": "Logging View Plugin",
"description": "This plugin adds the logs UI to Openshift console",
"exposedModules": {
"LogsPage": "./pages/logs-page",
"LogsDetailPage": "./pages/logs-detail-page",
"LogActionsProvider": "./hooks/useLogActionsExtension"
},
"dependencies": {
"@console/pluginAPI": "*"
}
},
"dependencies": {
"@patternfly/patternfly": "^4.202.1",
"@patternfly/react-charts": "^6.55.16",
"@patternfly/react-icons": "^4.57.2",
"@patternfly/react-table": "^4.71.16"
},
"nyc": {
"report-dir": "./coverage/cov-cypress"
}
}