generated from RedHatInsights/frontend-starter-app
-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathpackage.json
141 lines (141 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
138
139
140
141
{
"name": "malware-detection-frontend",
"version": "1.0.0",
"private": false,
"engines": {
"node": ">=14.0.0",
"npm": ">=7.0.0"
},
"scripts": {
"build": "fec build",
"deploy": "npm-run-all build 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",
"nightly": "npm run deploy",
"server:ctr": "node src/server/generateServerKey.js",
"start": "fec dev",
"start:proxy": "PROXY=true fec dev",
"test": "jest --passWithNoTests --no-cache",
"test:ct": "BABEL_ENV=component cypress run --component",
"translations": "npm-run-all translations:*",
"translations:extract": "npx @formatjs/cli extract 'src/**/*.js*' --out-file ./build/messages/src/Messages.json --id-interpolation-pattern '[sha512:contenthash:base64:6]'",
"translations:compile": "npx @formatjs/cli compile 'build/messages/src/Messages.json' --out-file ./locales/translations.json",
"travis:build": "npm run build",
"travis:verify": "npm-run-all travis:build lint test",
"verify": "npm-run-all build lint test",
"coverage": "bash coverage.sh && npm run coverage:clean",
"coverage:clean": "rm -rf .nyc_output coverage reports",
"postinstall": "ts-patch install"
},
"jest": {
"testEnvironment": "jsdom",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!src/**/*.cy.js",
"!src/{entry,entry-dev}.js",
"!src/**/*.fixtures.js"
],
"coverageDirectory": "./coverage/",
"moduleNameMapper": {
"\\.(css|scss)$": "identity-obj-proxy"
},
"roots": [
"<rootDir>/src/"
],
"setupFiles": [
"<rootDir>/config/setupTests.js"
],
"testPathIgnorePatterns": [
"<rootDir>/.+fixtures.+"
],
"transformIgnorePatterns": [
"node_modules/(?!(uuid))"
]
},
"dependencies": {
"@apollo/client": "^3.11.8",
"@babel/runtime": "^7.24.0",
"@patternfly/patternfly": "^5.3.1",
"@patternfly/react-charts": "^7.4.3",
"@patternfly/react-code-editor": "^5.4.0",
"@patternfly/react-component-groups": "^5.2.0",
"@patternfly/react-core": "^5.4.0",
"@patternfly/react-icons": "^5.2.1",
"@patternfly/react-table": "^5.4.0",
"@redhat-cloud-services/frontend-components": "^4.2.10",
"@redhat-cloud-services/frontend-components-notifications": "^4.1.0",
"@redhat-cloud-services/frontend-components-translations": "^3.2.9",
"@redhat-cloud-services/frontend-components-utilities": "^4.0.17",
"@unleash/proxy-client-react": "^4.2.4",
"axios": "^1.7.7",
"classnames": "^2.3.1",
"graphql": "^15.5.3",
"lodash": "^4.17.21",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-intl": "^6.5.5",
"react-redux": "^9.0.4",
"react-router-dom": "^6.26.2",
"redux": "^5.0.1",
"redux-logger": "^3.0.6",
"redux-promise-middleware": "^6.2.0"
},
"devDependencies": {
"@babel/core": "^7.24.0",
"@babel/eslint-parser": "^7.23.10",
"@babel/plugin-transform-runtime": "^7.24.0",
"@babel/preset-env": "^7.24.0",
"@babel/preset-react": "^7.23.3",
"@cypress/code-coverage": "^3.13.10",
"@cypress/react18": "^2.0.1",
"@cypress/webpack-dev-server": "^4.0.0",
"@redhat-cloud-services/eslint-config-redhat-cloud-services": "^2.0.3",
"@redhat-cloud-services/frontend-components-config": "^6.2.3",
"@redhat-cloud-services/tsc-transform-imports": "^1.0.11",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.2",
"babel-loader": "^9.1.2",
"babel-plugin-istanbul": "^6.1.1",
"cypress": "^13.17.0",
"eslint": "^8.43.0",
"eslint-plugin-cypress": "^3.3.0",
"eslint-plugin-jest-dom": "^5.1.0",
"eslint-plugin-testing-library": "^6.2.0",
"identity-obj-proxy": "3.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"npm-run-all": "4.1.5",
"prop-types": "^15.7.2",
"stylelint": "^16.1.0",
"stylelint-config-recommended-scss": "^14.0.0",
"stylelint-scss": "^6.0.0",
"ts-patch": "^3.1.1",
"typescript": "^5.3.3"
},
"insights": {
"appname": "malware"
},
"routes": {
"prefix": "insights",
"appname": "malware",
"details": "/details",
"oops": "/oops",
"noPermissions": "/no-permissions"
},
"nyc": {
"report-dir": "cypress-coverage",
"include": [
"src/**/*.{js,jsx}"
],
"exclude": [
"src/**/*.spec.ct.js",
"src/**/*.test.js",
"src/**/*.cy.js",
"src/{entry,entry-dev}.js"
]
}
}