forked from RedHatInsights/insights-chrome
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
161 lines (161 loc) · 6.13 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
{
"name": "insights-chrome",
"version": "0.0.0",
"description": "Chroming for Insights",
"main": "index.js",
"scripts": {
"start": "NODE_ENV='development' npm run watch",
"build": "npm-run-all build:images-chrome build:js build:sass clean:chrome hash:chrome build:pug build:fonts build:Fafonts",
"build:beta": "npm-run-all build:images-chrome build:js:beta build:sass clean:chrome hash:chrome build:pug:beta build:fonts build:Fafonts",
"build:js": "NODE_ENV=production parcel build src/js/chrome.js -d build/js --public-url /apps/chrome/js",
"build:js:beta": "NODE_ENV=production parcel build src/js/chrome.js -d build/js --public-url /beta/apps/chrome/js",
"build:images-chrome": "mkdir -p build/assets/images && ncp static/images build/assets/images",
"build:pug": "node ./scripts/build-pug.js insights",
"build:pug:beta": "node ./scripts/build-pug.js insightsbeta",
"build:sass": "node-sass src/sass/chrome.scss -o build/",
"build:fonts": "mkdir -p build/assets/fonts && ncp node_modules/@patternfly/patternfly/assets/fonts build/assets/fonts",
"build:Fafonts": "mkdir -p build/assets/fonts && ncp node_modules/font-awesome/fonts build/assets/fonts",
"clean:chrome": "del build/chrome.*.css",
"hash:chrome": "contentHash=$(md5-file build/chrome.css) && ncp build/chrome.css build/chrome.$contentHash.css && del build/chrome.css",
"fixjs": "eslint src --fix",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src",
"lint:sass": "stylelint 'src/sass/**/*.scss' --config .stylelintrc.json",
"test": "jest --forceExit --detectOpenHandles",
"verify": "npm-run-all lint build test",
"verify:beta": "npm-run-all lint build:beta test",
"watch": "npm-run-all --parallel watch:*",
"watch:images": "npm run build:images-chrome -- -w",
"watch:js": "parcel watch src/js/chrome.js -d build/js --public-url /apps/chrome/js",
"watch:pug": "npm run build:pug -- -w",
"watch:sass": "npm run build:sass -- -w",
"nightly": "npm run verify"
},
"jest": {
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.js",
"!src/**/*Styles.js"
],
"roots": [
"<rootDir>/src/"
],
"moduleFileExtensions": [
"js"
],
"setupFiles": [
"<rootDir>/config/setupTests.js"
],
"moduleNameMapper": {
"\\.(css|scss)$": "identity-obj-proxy",
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/src/__mocks__/fileMock.js"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/RedHatInsights/insights-chrome.git"
},
"keywords": [
"Chrome"
],
"author": "[email protected]",
"license": "MIT",
"bugs": {
"url": "https://github.com/RedHatInsights/insights-chrome/issues"
},
"homepage": "https://github.com/RedHatInsights/insights-chrome#readme",
"devDependencies": {
"@babel/core": "7.5.5",
"@babel/plugin-proposal-class-properties": "^7.4.0",
"@babel/plugin-proposal-decorators": "^7.4.0",
"@babel/plugin-proposal-object-rest-spread": "^7.4.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-syntax-object-rest-spread": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.6.2",
"@babel/preset-env": "^7.4.1",
"@babel/preset-react": "^7.0.0",
"@types/node": "^12.7.2",
"babel-cli": "^6.26.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.5.0",
"babel-loader": "^8.0.5",
"babel-plugin-dynamic-import-node": "^2.2.0",
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
"babel-runtime": "^6.26.0",
"concurrently": "^4.1.2",
"del-cli": "^3.0.0",
"enzyme": "^3.10.0",
"eslint": "^4.19.1",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-react": "^7.11.1",
"identity-obj-proxy": "^3.0.0",
"jest": "^24.5.0",
"jest-fetch-mock": "^2.1.2",
"jest-mock-axios": "^3.1.0",
"localforage": "^1.7.3",
"mkdir": "0.0.2",
"ncp": "^2.0.0",
"node-sass": "^4.12.0",
"npm-run-all": "^4.1.5",
"parcel": "^1.12.4",
"pug": "^2.0.3",
"pug-cli": "^1.0.0-alpha6",
"redux-logger": "^3.0.6",
"redux-mock-store": "^1.5.3",
"stylelint": "^10.1.0",
"stylelint-config-recommended-scss": "^3.2.0",
"stylelint-scss": "^3.3.2"
},
"dependencies": {
"@babel/polyfill": "^7.0.0",
"@babel/runtime": "^7.4.4",
"@patternfly/patternfly": "^2.41.0",
"@patternfly/react-core": "^3.120.5",
"@patternfly/react-icons": "^3.14.19",
"@redhat-cloud-services/entitlements-client": "^1.0.18",
"@redhat-cloud-services/frontend-components": "0.0.43",
"@redhat-cloud-services/frontend-components-inventory": "0.0.42",
"@redhat-cloud-services/frontend-components-remediations": "0.0.4",
"@redhat-cloud-services/frontend-components-utilities": "0.0.15",
"@redhat-cloud-services/keycloak-js": "0.0.3",
"@sentry/browser": "^5.4.3",
"axios": "^0.19.0",
"axios-cache-adapter": "^2.3.0",
"babel-plugin-rewire": "^1.2.0",
"babel-preset-es2015": "^6.24.1",
"broadcast-channel": "^2.1.9",
"classnames": "^2.2.6",
"core-js": "^3.2.1",
"enzyme-adapter-react-16": "^1.15.1",
"enzyme-adapter-utils": "^1.12.1",
"enzyme-to-json": "^3.4.3",
"font-awesome": "^4.7.0",
"jest-enzyme": "^7.1.2",
"js-cookie": "^2.2.0",
"js-yaml": "^3.13.1",
"jsdom": "^15.2.1",
"jwt-redhat": "git+https://github.com/RedHatInsights/jwt-redhat.git#b7b00d8c4e400db9aeb7ceb18d263972e0cec66e",
"lodash": "^4.17.14",
"md5-file": "^4.0.0",
"node-fetch": "^2.6.0",
"prop-types": "^15.6.2",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-redux": "^7.1.0",
"react-test-renderer": "^16.11.0",
"redux": "^4.0.4",
"urijs": "^1.19.1",
"url-parse": "^1.4.3"
},
"alias": {
"@patternfly/react-table": "./config/patternfly-table-externals.js",
"react-router-dom": "./config/react-router-dom-externals.js",
"patternfly-react": "./config/patternfly-react-externals.js",
"graphql": "./config/graphql-externals.js"
},
"insights": {
"appname": "chrome"
}
}