generated from RedHatInsights/frontend-starter-app
/
package.json
133 lines (133 loc) · 4.53 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
{
"name": "sed-frontend",
"version": "1.1.0",
"private": false,
"scripts": {
"build": "webpack --config config/prod.webpack.config.js",
"analyze": "NODE_ENV=production webpack --config config/prod.webpack.config.js --env analyze=true",
"build:prod": "NODE_ENV=production webpack --config config/prod.webpack.config.js",
"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",
"nightly": "npm run deploy",
"prod": "NODE_ENV=production webpack serve --config config/dev.webpack.config.js",
"server:ctr": "node src/server/generateServerKey.js",
"start": "NODE_ENV=development webpack serve --config config/dev.webpack.config.js",
"start:beta": "NODE_ENV=development BETA=true webpack serve --config config/dev.webpack.config.js",
"start:proxy": "PROXY=true npm run start",
"start:proxy:beta": "BETA=true npm run start:proxy",
"test": "TZ=UTC jest --verbose --no-cache",
"verify": "npm-run-all build lint test",
"test:ct": "BABEL_ENV=componentTest cypress run --component",
"test:openct": "cypress open --component",
"coverage": "bash coverage.sh"
},
"jest": {
"testEnvironment": "jsdom",
"verbose": true,
"testRunner": "jest-jasmine2",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.js",
"!src/**/stories/*"
],
"coverageDirectory": "./codecov-jest/",
"moduleNameMapper": {
"\\.(css|scss)$": "identity-obj-proxy"
},
"roots": [
"<rootDir>/src/"
],
"setupFiles": [
"<rootDir>/config/setupTests.js"
],
"transformIgnorePatterns": [
"/node_modules/(?!(lodash-es|@redhat-cloud-services|@openshift|@scalprum))"
]
},
"dependencies": {
"@babel/runtime": "7.12.13",
"@patternfly/react-core": "^5.0.0",
"@patternfly/react-icons": "^5.0.0",
"@patternfly/react-table": "^5.0.0",
"@redhat-cloud-services/config-manager-client": "^1.0.75",
"@redhat-cloud-services/frontend-components": "^4.0.1",
"@redhat-cloud-services/frontend-components-notifications": "^4.1.0",
"@redhat-cloud-services/frontend-components-utilities": "^4.0.2",
"@tanstack/react-query": "^4.29.7",
"@unleash/proxy-client-react": "^3.3.0",
"classnames": "2.2.6",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "^7.2.9",
"react-router-dom": "^6.6.1",
"redux": "^4.2.0",
"redux-logger": "3.0.6",
"redux-promise-middleware": "^6.2.0",
"unleash-proxy-client": "^2.2.1",
"uuid": "^9.0.1"
},
"devDependencies": {
"@babel/core": "^7.14.0",
"@babel/plugin-proposal-object-rest-spread": "7.12.13",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/plugin-transform-runtime": "7.12.13",
"@babel/preset-env": "7.12.13",
"@babel/preset-flow": "7.12.13",
"@babel/preset-react": "7.12.13",
"@cypress/code-coverage": "^3.10.0",
"@cypress/react18": "^2.0.0",
"@patternfly/patternfly": "^4.222.4",
"@redhat-cloud-services/eslint-config-redhat-cloud-services": "^2.0.3",
"@redhat-cloud-services/frontend-components-config": "^4.6.36",
"@testing-library/jest-dom": "^6.2.0",
"@testing-library/react": "^14.1.2",
"axios-mock-adapter": "^1.19.0",
"babel-core": "7.0.0-bridge.0",
"babel-jest": "=26.6.3",
"babel-plugin-dual-import": "1.2.1",
"babel-plugin-istanbul": "^6.1.1",
"babel-plugin-lodash": "3.3.4",
"babel-plugin-transform-imports": "^2.0.0",
"bdd-lazy-var": "^2.6.1",
"cross-fetch": "^3.0.6",
"css-loader": "5.0.1",
"cypress": "^12.0.0",
"eslint": "8.9.0",
"eslint-plugin-cypress": "^2.12.1",
"identity-obj-proxy": "3.0.0",
"jest": "^29.6.3",
"jest-environment-jsdom": "^29.6.3",
"jest-fetch-mock": "^3.0.3",
"jest-jasmine2": "^29.7.0",
"npm-run-all": "4.1.5",
"prop-types": "15.7.2",
"react-test-renderer": "^18.2.0",
"stylelint": "13.9.0",
"stylelint-config-recommended-scss": "4.2.0",
"stylelint-scss": "3.18.0",
"webpack-bundle-analyzer": "^4.4.1",
"webpack-cli": "^4.9.0"
},
"insights": {
"appname": "connector"
},
"routes": {
"connector": "/*",
"connectSystemsModal": "/connect-systems",
"logModal": "log",
"activationKeys": "/activation-keys",
"activationKey": "/activation-keys/:id"
},
"nyc": {
"report-dir": "codecov-cypress",
"include": [
"src/**/*"
],
"exclude": [
"src/**/*.test.js"
]
}
}