forked from RedHatInsights/vulnerability-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
215 lines (215 loc) · 8.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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
{
"name": "@redhat-cloud-services/frontend-components-inventory-vulnerabilities",
"private": false,
"version": "1.74.8",
"browser": "dist/index.js",
"module": "esm/index.js",
"dependencies": {
"@babel/plugin-proposal-optional-chaining": "^7.14.5",
"@babel/runtime": "^7.14.0",
"@patternfly/react-core": "^4.135.0",
"@patternfly/react-icons": "^4.11.0",
"@patternfly/react-table": "^4.29.0",
"@react-pdf/renderer": "^2.0.16",
"@redhat-cloud-services/frontend-components": "^3.3.4",
"@redhat-cloud-services/frontend-components-inventory-insights": "^3.1.3",
"@redhat-cloud-services/frontend-components-notifications": "^3.1.0",
"@redhat-cloud-services/frontend-components-pdf-generator": "^2.6.5",
"@redhat-cloud-services/frontend-components-remediations": "^3.2.5",
"@redhat-cloud-services/frontend-components-translations": "^3.1.1",
"@redhat-cloud-services/frontend-components-utilities": "^3.2.3",
"@redhat-cloud-services/vulnerabilities-client": "1.0.100",
"axios": "^0.21.1",
"classnames": "^2.2.5",
"marked": "^2.1.3",
"query-string": "^7.0.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"sanitize-html": "^2.3.3",
"seamless-immutable": "^7.1.4",
"string_decoder": "^1.3.0",
"style-loader": "^3.1.0",
"use-deep-compare-effect": "^1.6.1"
},
"sassIncludes": {
"patternfly": "node_modules/patternfly/dist/sass",
"bootstrap": "node_modules/patternfly/node_modules/bootstrap-sass/assets/stylesheets",
"fontAwesome": "node_modules/patternfly/node_modules/font-awesome-sass/assets/stylesheets"
},
"jest": {
"collectCoverage": true,
"coverageDirectory": "./coverage/",
"collectCoverageFrom": [
"src/**/*.js",
"!src/**/stories/*",
"!src/**/TrendBox/*"
],
"transformIgnorePatterns": [
"<rootDir>/node_modules/(?!(@patternfly/react-core/|@patternfly/react-tokens/|@patternfly/react-icons/|@redhat-cloud-services)).*$"
],
"setupFiles": [
"<rootDir>/config/setupTests.js"
],
"roots": [
"<rootDir>/src/"
],
"moduleNameMapper": {
"\\.(svg)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|scss)$": "identity-obj-proxy",
"c3": "<rootDir>/__mocks__/c3.js",
"^lodash-es$": "lodash",
"customReact": "react",
"PFReactCore": "@patternfly/react-core",
"PFReactTable": "@patternfly/react-table",
"^@redhat-cloud-services/frontend-components-pdf-generator$": "<rootDir>/node_modules/@redhat-cloud-services/frontend-components-pdf-generator/dist/esm/index.js"
}
},
"devDependencies": {
"@babel/core": "^7.13.13",
"@babel/eslint-parser": "^7.14.7",
"@babel/plugin-proposal-decorators": "^7.12.1",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1",
"@babel/plugin-proposal-object-rest-spread": "^7.14.7",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.14.5",
"@babel/preset-env": "^7.14.7",
"@babel/preset-flow": "^7.12.1",
"@babel/preset-react": "^7.12.13",
"@formatjs/cli": "^4.2.21",
"@redhat-cloud-services/frontend-components-config": "^4.2.7",
"@rollup/plugin-commonjs": "^19.0.1",
"@rollup/plugin-image": "^2.0.6",
"@rollup/plugin-json": "^4.0.3",
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/pluginutils": "^4.1.1",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/git": "^9.0.0",
"@semantic-release/npm": "^7.1.3",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.2",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^27.0.6",
"babel-loader": "^8.2.2",
"babel-plugin-dual-import": "^1.2.1",
"babel-plugin-lodash": "^3.3.2",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-imports": "^2.0.0",
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
"babel-polyfill": "^6.26.0",
"codecov": "^3.8.2",
"css-loader": "^5.1.3",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.5.0",
"eslint": "^7.31.0",
"eslint-config-prettier": "^8.3.0",
"eslint-loader": "^4.0.2",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"file-loader": "^6.2.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^26.6.3",
"npm-run-all": "^4.1.5",
"prop-types": "^15.7.2",
"qs": "^6.7.0",
"react-intl": "^5.20.4",
"react-redux": "^7.2.2",
"react-router-dom": "5.2.0",
"redux": "^4.1.0",
"redux-mock-store": "^1.5.4",
"redux-promise-middleware": "^6.1.2",
"rollup": "^2.53.2",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-postcss": "^4.0.0",
"rollup-plugin-terser": "^7.0.2",
"semantic-release": "^17.3.9",
"stylelint": "^13.13.1",
"stylelint-config-recommended-scss": "^4.2.0",
"stylelint-scss": "^3.19.0",
"unfetch": "^4.2.0",
"webpack": "^5.44.0",
"webpack-bundle-analyzer": "^4.4.2",
"webpack-cli": "^4.7.0"
},
"scripts": {
"analyze": "NODE_ENV=production webpack --config config/prod.webpack.config.js --env analyze=true --mode production",
"bootstrap": "rm -rf ./dist package-lock.json node_modules; npm install",
"build": "webpack --config config/prod.webpack.config.js",
"build:components": "npm run build:components:js && npm run build:components:esm && npm run build:components:umd",
"build:components:js": "BABEL_ENV=cjs rollup -c ./config/rollup.config.js --format=cjs --environment NODE_ENV:production,FORMAT:cjs",
"build:components:esm": "BABEL_ENV=esm rollup -c ./config/rollup.config.js --environment NODE_ENV:production,FORMAT:esm",
"build:components:umd": "rollup -c ./config/rollup.config.js --format=umd --environment NODE_ENV:production,FORMAT:umd",
"test": "jest --passWithNoTests --silent",
"test:watch": "jest --watch --passWithNoTests",
"test:update": "jest --updateSnapshot --passWithNoTests",
"coverage": "codecov",
"lint": "npm-run-all lint:*",
"lint:js": "eslint config src",
"lint:sass": "stylelint 'src/**/*.scss' --config .stylelint.json",
"prod:stable": "NODE_ENV=production webpack serve --config config/prod.webpack.config.js",
"prod": "NODE_ENV=production BETA=true webpack serve --config config/prod.webpack.config.js",
"server:ctr": "node src/server/generateServerKey.js",
"start:stable": "NODE_ENV=development webpack serve --config config/dev.webpack.config.js",
"start": "NODE_ENV=development BETA=true webpack serve --config config/dev.webpack.config.js",
"start:proxy": "NODE_ENV=development PROXY=true BETA=true webpack serve --config config/dev.webpack.config.js",
"travis:build": "NODE_ENV=production webpack --config config/prod.webpack.config.js",
"travis:verify": "npm-run-all travis:build lint test coverage",
"verify": "npm-run-all build lint test",
"semantic-release": "semantic-release",
"semantic-release-local": "semantic-release pre --debug=false",
"nightly": "npm run travis:verify",
"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/en.json"
},
"release": {
"analyzeCommits": {
"preset": "angular",
"releaseRules": [
{
"type": "refactor",
"release": "patch"
},
{
"type": "style",
"release": "patch"
},
{
"type": "update",
"release": "patch"
}
]
},
"getLastRelease": "last-release-git",
"publish": [
"@semantic-release/github",
"@semantic-release/npm"
],
"verifyConditions": [
"@semantic-release/github"
],
"fail": "",
"prepare": [
"@semantic-release/npm",
"@semantic-release/changelog",
[
"@semantic-release/git",
{
"message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}"
}
]
]
},
"repository": {
"type": "git",
"url": "https:git@github.com:RedHatInsights/vulnerability-ui.git"
},
"insights": {
"appname": "vulnerability"
},
"files": [
"dist"
],
"publishConfig": {
"access": "public"
}
}