forked from RedHatInsights/subscription-central-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
164 lines (164 loc) · 5.21 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
{
"name": "subscription-central",
"version": "0.0.1",
"private": false,
"scripts": {
"analyze": "npm run build:prod && source-map-explorer 'dist/js/*.js'",
"build": "webpack --config config/prod.webpack.config.js",
"build:prod": "NODE_ENV=production webpack --config config/prod.webpack.config.js",
"deploy": "npm-run-all build:prod lint test",
"format": "prettier \"src/**/*.{js,tsx,html,scss}\" --write",
"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",
"lint:staged": "pretty-quick --staged && lint-staged",
"nightly": "npm run deploy",
"preinstall": "npx npm-force-resolutions",
"prod": "NODE_ENV=production webpack-dev-server --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": "BETA=true NODE_ENV=development webpack serve --config config/dev.webpack.config.js",
"test": "jest --verbose",
"test:watch": "jest --watch",
"verify": "npm-run-all build lint test"
},
"resolutions": {
"glob-parent": "^6.0.1",
"hosted-git-info": "^3.0.8",
"url-parse": "^1.5.3",
"axios": "^0.21.4"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint:staged"
}
},
"lint-staged": {
"*.{js,scss,ts,tsx,html}": "eslint --cache --fix"
},
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!src/**/stories/*",
"!src/App.js",
"!src/AppEntry.js",
"!src/bootstrap-dev.js",
"!src/bootstrap.js",
"!src/entry-dev.js",
"!src/entry.js",
"!src/Routes.tsx",
"!src/store/index.js"
],
"coverageDirectory": "./coverage/",
"coverageThreshold": {
"global": {
"branches": 85,
"functions": 85,
"lines": 85,
"statements": 85
}
},
"moduleNameMapper": {
"\\.(css|scss)$": "identity-obj-proxy"
},
"clearMocks": true,
"roots": [
"<rootDir>/src/"
],
"setupFiles": [
"<rootDir>/config/setupTests.js"
]
},
"transformIgnorePatterns": [
"/node_modules/(?!@redhat-cloud-services)",
"/node_modules/(?!@patternfly)"
],
"dependencies": {
"@babel/runtime": "7.10.0",
"@patternfly/patternfly": "^4.125.3",
"@patternfly/react-core": "^4.147.0",
"@patternfly/react-table": "^4.29.37",
"@redhat-cloud-services/frontend-components": "^3.3.15",
"@redhat-cloud-services/frontend-components-utilities": "^3.2.3",
"babel-plugin-transform-imports": "^2.0.0",
"classnames": "2.2.6",
"jest-fetch-mock": "^3.0.3",
"js-cookie": "^2.2.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-hook-form": "^7.13.0",
"react-query": "^3.21.0",
"react-redux": "7.2.2",
"react-router-dom": "^5.2.0",
"redux": "4.0.5",
"redux-logger": "3.0.6",
"redux-promise-middleware": "6.1.2",
"ts-loader": "^8.3.0",
"typescript": "^4.3.5",
"uuid": "^8.3.2"
},
"devDependencies": {
"@babel/core": "7.12.13",
"@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.9.0",
"@babel/preset-react": "7.12.13",
"@babel/preset-typescript": "^7.15.0",
"@redhat-cloud-services/eslint-config-redhat-cloud-services": "^1.2.1",
"@redhat-cloud-services/frontend-components-config": "^4.3.3",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^11.2.7",
"@testing-library/react-hooks": "^5.1.3",
"@types/faker": "^5.5.8",
"@types/jest": "^26.0.24",
"@types/js-cookie": "^2.2.7",
"@types/lodash": "^4.14.172",
"@types/react": "^17.0.19",
"@types/react-dom": "^17.0.9",
"@types/react-query": "^1.2.9",
"@types/react-redux": "^7.1.18",
"@types/react-router": "^5.1.16",
"@types/react-router-dom": "^5.1.8",
"@typescript-eslint/eslint-plugin": "^4.29.3",
"@typescript-eslint/parser": "^4.29.3",
"babel-core": "7.0.0-bridge.0",
"babel-jest": "^26.6.3",
"babel-plugin-dual-import": "1.2.1",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-transform-imports": "^2.0.0",
"cross-fetch": "^3.1.4",
"css-loader": "5.0.1",
"eslint": "7.19.0",
"eslint-config-prettier": "6.11.0",
"eslint-loader": "4.0.2",
"eslint-plugin-react": "7.20.0",
"eslint-plugin-react-hooks": "4.0.4",
"faker": "^5.5.3",
"fishery": "^1.4.0",
"husky": "^4.3.5",
"identity-obj-proxy": "3.0.0",
"jest": "26.6.3",
"lint-staged": "^10.5.3",
"node-sass": "^6.0.1",
"npm-run-all": "4.1.5",
"null-loader": "^4.0.1",
"postcss": "^7.0.36",
"prettier": "^2.3.2",
"pretty-quick": "^3.1.1",
"prop-types": "15.7.2",
"source-map-explorer": "^2.5.1",
"stylelint": "13.9.0",
"stylelint-config-recommended-scss": "4.2.0",
"stylelint-scss": "3.18.0",
"webpack": "5.51.1",
"webpack-bundle-analyzer": "4.4.0",
"webpack-cli": "4.5.0"
},
"insights": {
"appname": "manifests"
}
}