-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
137 lines (137 loc) · 4.6 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
{
"name": "ros-frontend",
"version": "1.1.0",
"private": false,
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
},
"scripts": {
"build": "npm run build:prod",
"build:prod": "fec build",
"deploy": "npm-run-all build:prod lint test",
"lint": "npm-run-all lint:*",
"lint:js": "eslint config src",
"lint:js:fix": "eslint config src --fix",
"lint:sass": "stylelint 'src/**/*.scss' --config .stylelintrc.json",
"patch:hosts": "fec patch-etc-hosts",
"nightly": "npm run deploy",
"server:ctr": "node src/server/generateServerKey.js",
"start": "HOT=true fec dev",
"test": "TZ=UTC jest --verbose --no-cache",
"test:local": "TZ=UTC jest --verbose --no-cache --coverage --coverageDirectory='coverage' --watch",
"verify": "npm-run-all build lint test",
"postinstall": "ts-patch install"
},
"jest": {
"testEnvironment": "jsdom",
"coverageDirectory": "./codecov-jest/",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.js",
"!src/entry.js",
"!src/entry-dev.js"
],
"transform": {
"^.+\\.jsx?$": "babel-jest",
"^.+\\.mjs$": "babel-jest"
},
"transformIgnorePatterns": [
"<rootDir>/node_modules/(?!(@patternfly/react-core/|@patternfly/react-icons/|@redhat-cloud-services|@openshift|lodash-es|@patternfly/react-table|@patternfly/react-tokens|@patternfly/react-styles/|p-all|uuid)).*$"
],
"setupFiles": [
"<rootDir>/config/setupTests.js"
],
"roots": [
"<rootDir>/src/"
],
"testEnvironmentOptions": {
"url": "http://localhost:5000/"
},
"moduleNameMapper": {
"\\.(css|scss)$": "identity-obj-proxy",
"customReact": "react",
"PFReactCore": "@patternfly/react-core",
"PFReactTable": "@patternfly/react-table",
"reactRedux": "react-redux",
"^@redhat-cloud-services/frontend-components-pdf-generator$": "<rootDir>/node_modules/@redhat-cloud-services/frontend-components-pdf-generator/dist/esm/index.js"
}
},
"transformIgnorePatterns": [
"/node_modules/(?!@redhat-cloud-services)"
],
"dependencies": {
"@patternfly/patternfly": "^5.2.1",
"@patternfly/react-charts": "^7.4.3",
"@patternfly/react-core": "^5.4.12",
"@patternfly/react-icons": "^5.2.1",
"@patternfly/react-styles": "^5.2.1",
"@patternfly/react-table": "^5.2.4",
"@react-pdf/renderer": "^3.1.14",
"@redhat-cloud-services/frontend-components": "^4.2.14",
"@redhat-cloud-services/frontend-components-config": "^6.3.1",
"@redhat-cloud-services/frontend-components-notifications": "^4.1.0",
"@redhat-cloud-services/frontend-components-pdf-generator": "^4.0.5",
"@redhat-cloud-services/frontend-components-utilities": "^4.0.19",
"@unleash/proxy-client-react": "^3.6.0",
"babel-plugin-transform-imports": "^2.0.0",
"classnames": "2.2.6",
"fast-text-encoding": "^1.0.6",
"moment": "^2.29.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "^7.2.9",
"react-router-dom": "^6.21.1",
"redux": "^4.2.1",
"redux-logger": "3.0.6",
"redux-promise-middleware": "6.2.0"
},
"devDependencies": {
"@babel/core": "7.10.0",
"@babel/plugin-proposal-object-rest-spread": "7.10.0",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/plugin-transform-runtime": "7.10.0",
"@babel/preset-env": "7.10.0",
"@babel/preset-flow": "7.9.0",
"@babel/preset-react": "^7.25.7",
"@babel/runtime": "^7.22.15",
"@redhat-cloud-services/tsc-transform-imports": "^1.0.16",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.2",
"@testing-library/user-event": "^14.5.2",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "10.1.0",
"babel-jest": "^29.7.0",
"babel-plugin-dual-import": "1.2.1",
"babel-plugin-lodash": "3.3.4",
"cross-fetch": "3.1.5",
"css-loader": "3.5.3",
"eslint": "7.1.0",
"eslint-config-prettier": "6.11.0",
"eslint-loader": "4.0.2",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "4.0.4",
"good-guy-http": "^1.13.0",
"identity-obj-proxy": "3.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"npm-run-all": "4.1.5",
"postcss": "^8.4.47",
"prop-types": "15.8.1",
"sass": "^1.77.8",
"stylelint": "^13.13.1",
"stylelint-config-recommended-scss": "^4.3.0",
"stylelint-scss": "^3.19.0",
"ts-patch": "^3.1.2",
"typescript": "^5.4.3",
"webpack": "^5.95.0",
"webpack-bundle-analyzer": "^4.8.0",
"webpack-cli": "^5.0.1"
},
"overrides": {
"@react-pdf/layout": "3.6.4"
},
"insights": {
"appname": "ros"
}
}