-
Notifications
You must be signed in to change notification settings - Fork 53
/
package.json
172 lines (172 loc) · 6.01 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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
{
"name": "advisor-frontend",
"version": "2.0.0",
"private": false,
"repository": {
"type": "git",
"url": "https://github.com/RedHatInsights/insights-advisor-frontend.git"
},
"license": "Apache-2.0",
"author": "Red Hat",
"scripts": {
"build": "fec build",
"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",
"nightly": "npm run travis:verify",
"server:ctr": "node src/server/generateServerKey.js",
"start": "fec dev",
"start:proxy": "PROXY=true fec dev",
"test": "npm run test:jest",
"test:local": "TZ=UTC jest --verbose --collectCoverage=false --passWithNoTests --env=jsdom",
"test:jest": "TZ=UTC jest --verbose --passWithNoTests --env=jsdom",
"test:ct": "BABEL_ENV=component cypress run --component",
"test:openct": "cypress open --component",
"translations": "npm-run-all translations:*",
"translations:extract": "npx formatjs extract ./src/*.js --out-file ./build/messages/src/Messages.json",
"translations:compile": "npx formatjs compile ./build/messages/src/Messages.json --out-file ./locales/translations.json",
"travis:verify": "npm-run-all build lint test",
"verify": "npm-run-all build lint test",
"verify:local": "npm-run-all build lint test:local test:ct",
"coverage:clean": "rm -rf .nyc_output coverage reports",
"coverage": "bash coverage.sh && npm run coverage:clean",
"postinstall": "ts-patch install"
},
"sassIncludes": {
"patternfly": "node_modules/patternfly/dist/sass"
},
"jest": {
"testEnvironment": "jsdom",
"coverageDirectory": "./jest-coverage",
"collectCoverage": true,
"collectCoverageFrom": [
"!src/**/stories/*",
"src/**/*.{js,jsx}",
"!**/node_modules/**"
],
"moduleNameMapper": {
"\\.(css|scss)$": "identity-obj-proxy"
},
"roots": [
"<rootDir>/src/"
],
"testPathIgnorePatterns": [
"<rootDir>/.+fixtures.+"
],
"transformIgnorePatterns": [
"/node_modules/(?!@redhat-cloud-services)"
],
"setupFiles": [
"<rootDir>/config/setupTests.js"
]
},
"dependencies": {
"@babel/runtime": "^7.24.6",
"@patternfly/patternfly": "^5.3.1",
"@patternfly/react-charts": "^7.4.0",
"@patternfly/react-core": "^5.3.3",
"@patternfly/react-icons": "^5.3.2",
"@patternfly/react-table": "^5.3.3",
"@patternfly/react-tokens": "^5.1.2",
"@react-pdf/renderer": "^3.4.4",
"@redhat-cloud-services/frontend-components": "^4.2.11",
"@redhat-cloud-services/frontend-components-advisor-components": "^1.0.20",
"@redhat-cloud-services/frontend-components-charts": "3.2.6",
"@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-remediations": "3.2.12",
"@redhat-cloud-services/frontend-components-translations": "3.2.7",
"@redhat-cloud-services/frontend-components-utilities": "^4.0.11",
"@reduxjs/toolkit": "^2.2.5",
"@scalprum/react-core": "^0.1.9",
"@sentry/cli": "^2.32.1",
"@sentry/webpack-plugin": "^2.17.0",
"@unleash/proxy-client-react": "^4.2.4",
"babel-loader": "^9.1.3",
"babel-plugin-transform-imports": "^2.0.0",
"babel-plugin-transform-inline-environment-variables": "^0.4.4",
"package-lock-only": "^0.0.4",
"react": "^18.3.1",
"react-content-loader": "6.2.0",
"react-dom": "^18.3.1",
"react-intl": "^6.6.8",
"react-markdown": "9.0.1",
"react-redux": "^9.1.2",
"react-router-dom": "^6.23.1",
"redux": "5.0.1",
"redux-logger": "3.0.6",
"redux-mock-store": "^1.5.4",
"redux-promise-middleware": "6.2.0"
},
"devDependencies": {
"@babel/core": "^7.24.6",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.24.6",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-async-to-generator": "^7.24.6",
"@babel/plugin-transform-runtime": "^7.24.6",
"@babel/preset-env": "^7.24.6",
"@babel/preset-flow": "^7.24.6",
"@babel/preset-react": "^7.24.6",
"@cypress/code-coverage": "^3.12.39",
"@cypress/react18": "^2.0.0",
"@cypress/webpack-dev-server": "^3.9.0",
"@formatjs/cli": "^6.2.12",
"@redhat-cloud-services/eslint-config-redhat-cloud-services": "^2.0.4",
"@redhat-cloud-services/tsc-transform-imports": "^1.0.11",
"@scalprum/core": "^0.7.0",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.1",
"axios": "^1.7.2",
"babel-eslint": "10.1.0",
"babel-jest": "^29.7.0",
"babel-plugin-dual-import": "1.2.1",
"babel-plugin-istanbul": "^6.1.1",
"babel-plugin-lodash": "3.3.4",
"cypress": "^13.10.0",
"eslint": "^8.9.0",
"eslint-plugin-cypress": "^3.3.0",
"eslint-plugin-jest-dom": "^5.4.0",
"eslint-plugin-react": "^7.34.2",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-testing-library": "^6.2.2",
"identity-obj-proxy": "3.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lodash": "4.17.21",
"npm-run-all": "4.1.5",
"prop-types": "^15.8.1",
"qs": "^6.12.1",
"redux-mock-store": "^1.5.4",
"style-loader": "^4.0.0",
"stylelint": "^16.6.1",
"stylelint-config-recommended-scss": "^14.0.0",
"stylelint-scss": "^6.3.0",
"ts-patch": "^3.1.2",
"typescript": "^5.4.5",
"webpack-cli": "^5.1.4"
},
"insights": {
"appname": "advisor"
},
"nyc": {
"report-dir": "cypress-coverage",
"include": [
"src/**/*"
],
"exclude": [
"src/**/*.spec.ct.js",
"src/**/*.test.js",
"src/**/*.cy.js"
]
},
"overrides": {
"@react-pdf/image": "2.2.3",
"@react-pdf/pdfkit": "3.0.4",
"@react-pdf/layout": "3.6.4"
}
}