-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathpackage.json
More file actions
139 lines (139 loc) · 4.67 KB
/
package.json
File metadata and controls
139 lines (139 loc) · 4.67 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
131
132
133
134
135
136
137
138
139
{
"name": "insights-dashboard",
"version": "1.0.0",
"private": false,
"engines": {
"node": ">=22.0.0",
"npm": ">=11.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/RedHatInsights/insights-dashboard"
},
"license": "Apache-2.0",
"author": "Red Hat",
"scripts": {
"build": "fec build",
"lint": "npm-run-all lint:*",
"lint-fix": "eslint config src --fix",
"lint:js": "eslint config src",
"lint:js:fix": "eslint config src --fix",
"lint:sass": "stylelint 'src/**/*.scss' --config .stylelintrc.json",
"nightly": "npm run ci:verify",
"postinstall": "ts-patch install",
"server:ctr": "node src/server/generateServerKey.js",
"start": "fec static",
"start:proxy": "PROXY=true fec dev",
"test": "jest --passWithNoTests",
"test:coverage": "curl -sSL 'https://raw.githubusercontent.com/RedHatInsights/insights-interact-tools/refs/heads/main/scripts/coverage.sh' | bash",
"test:ct": "BABEL_ENV=componentTest cypress run --browser chrome --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",
"ci:verify": "npm run test:coverage",
"verify": "npm-run-all build lint test"
},
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!**/node_modules/**",
"!src/**/*.cy.js"
],
"coverageDirectory": "coverage-jest",
"moduleNameMapper": {
"\\.(css|less|scss|sass|svg|png)$": "identity-obj-proxy"
},
"roots": [
"<rootDir>/src/"
],
"setupFiles": [
"<rootDir>/config/setupTests.js"
],
"transformIgnorePatterns": [],
"testEnvironment": "jsdom"
},
"dependencies": {
"@babel/runtime": "^7.29.2",
"@patternfly/patternfly": "^6.4.0",
"@patternfly/react-charts": "^8.4.1",
"@patternfly/react-core": "^6.4.1",
"@patternfly/react-icons": "^6.4.0",
"@patternfly/react-table": "^6.4.1",
"@patternfly/react-tokens": "^6.4.0",
"@project-kessel/react-kessel-access-check": "^0.4.2",
"@redhat-cloud-services/frontend-components": "^7.1.1",
"@redhat-cloud-services/frontend-components-notifications": "^6.3.1",
"@redhat-cloud-services/frontend-components-translations": "^4.1.1",
"@redhat-cloud-services/frontend-components-utilities": "^7.1.1",
"@sentry/webpack-plugin": "^3.6.1",
"@unleash/proxy-client-react": "^5.0.1",
"classnames": "^2.5.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-intl": "^6.8.9",
"react-redux": "^8.1.3",
"react-router-dom": "^6.30.3",
"redux": "^5.0.1",
"redux-mock-store": "^1.5.5",
"redux-promise-middleware": "^6.2.0",
"seamless-immutable": "^7.1.4",
"victory": "^37.3.6"
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@babel/eslint-parser": "^7.28.6",
"@babel/eslint-plugin": "^7.27.1",
"@babel/plugin-transform-runtime": "^7.29.0",
"@babel/preset-env": "^7.29.2",
"@babel/preset-react": "^7.28.5",
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@cypress/code-coverage": "^3.14.7",
"@formatjs/cli": "^4.8.4",
"@redhat-cloud-services/eslint-config-redhat-cloud-services": "^3.0.31",
"@redhat-cloud-services/frontend-components-config": "^6.8.3",
"@redhat-cloud-services/tsc-transform-imports": "^1.0.57",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^15.0.7",
"@testing-library/user-event": "^14.6.1",
"axios": "^1.13.6",
"babel-jest": "^29.7.0",
"babel-plugin-istanbul": "^7.0.1",
"css-loader": "^6.11.0",
"cypress": "^14.5.4",
"eslint": "^9.39.4",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-cypress": "^6.2.0",
"eslint-plugin-jest-dom": "^5.5.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-testing-library": "^7.16.1",
"identity-obj-proxy": "^3.0.0",
"jest": "^30.3.0",
"jest-environment-jsdom": "^30.3.0",
"npm-run-all": "^4.1.5",
"prop-types": "^15.8.1",
"qs": "^6.15.0",
"react-masonry-css": "^1.0.16",
"stylelint": "^16.26.1",
"stylelint-config-recommended-scss": "^16.0.2",
"stylelint-scss": "^6.14.0",
"ts-patch": "^3.1.2",
"typescript": "^5.9.3"
},
"insights": {
"appname": "dashboard"
},
"nyc": {
"report-dir": "coverage-cypress",
"include": [
"src/**/*.{js,tsx}"
],
"exclude": [
"src/**/*.test.js",
"src/**/*.cy.js"
]
}
}