forked from RedHatInsights/compliance-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
158 lines (158 loc) · 6.55 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
{
"name": "compliance-frontend",
"version": "1.1.0",
"private": false,
"insights": {
"appname": "compliance"
},
"dependencies": {
"@apollo/client": "^3.3.15",
"@babel/runtime": "^7.13.10",
"@data-driven-forms/pf4-component-mapper": "^2.24.0",
"@data-driven-forms/react-form-renderer": "^2.24.1",
"@patternfly/react-charts": "^6.15.20",
"@patternfly/react-core": "^4.152.4",
"@patternfly/react-icons": "^4.11.14",
"@patternfly/react-table": "^4.29.58",
"@patternfly/react-tokens": "^4.12.15",
"@redhat-cloud-services/frontend-components": "^3.4.1",
"@redhat-cloud-services/frontend-components-notifications": "^3.2.4",
"@redhat-cloud-services/frontend-components-pdf-generator": "^2.6.5",
"@redhat-cloud-services/frontend-components-remediations": "^3.2.6",
"@redhat-cloud-services/frontend-components-utilities": "^3.2.4",
"@redhat-cloud-services/host-inventory-client": "^1.0.97",
"@types/react": "^17.0.3",
"apollo-boost": "^0.4.9",
"classnames": "^2.3.1",
"graphql": "^15.5.0",
"graphql-tag": "^2.11.0",
"json-api-normalizer": "1.0.1",
"linkifyjs": "^2.1.9",
"react": "^17.0.2",
"react-content-loader": "^5.1.2",
"react-dom": "^17.0.2",
"react-intl": "^5.15.8",
"react-redux": "^7.2.3",
"react-router-dom": "^5.2.0",
"react-show-more-text": "^1.4.4",
"redux": "^4.0.5",
"redux-form": "^8.3.5",
"redux-logger": "^3.0.6",
"redux-promise-middleware": "^6.1.2"
},
"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,jsx}",
"!src/**/stories/*",
"!src/{App,Routes,entry,entry-dev}.js",
"!src/**/__fixtures__/*.js",
"!src/**/__factories__/*.js",
"!src/{SmartComponents,PresentationalComponents,Mutations,store}/index.js",
"!src/Utilities/{asyncComponent,ReducerRegistry,Dispatcher}.js"
],
"setupFiles": [
"<rootDir>/config/setupTests.js"
],
"roots": [
"<rootDir>/src/"
],
"transformIgnorePatterns": [
"<rootDir>/node_modules/(?!(@patternfly/react-tokens/|@patternfly/react-icons/)).*$"
],
"moduleNameMapper": {
"\\.(css|scss)$": "identity-obj-proxy",
"^SmartComponents$": "<rootDir>/src/SmartComponents",
"^SmartComponents/(.*)": "<rootDir>/src/SmartComponents/$1",
"^PresentationalComponents$": "<rootDir>/src/PresentationalComponents",
"^PresentationalComponents/(.*)": "<rootDir>/src/PresentationalComponents/$1",
"^Mutations(|/.*)": "<rootDir>/src/Mutations$1",
"^Utilities/(.*)": "<rootDir>/src/Utilities/$1",
"^Store/(.*)": "<rootDir>/src/store/$1",
"^Store$": "<rootDir>/src/store",
"^@/(.*)$": "<rootDir>/src/$1",
"customReact": "react",
"PFReactCore": "@patternfly/react-core",
"PFReactTable": "@patternfly/react-table",
"classnames": "<rootDir>/node_modules/classnames/index.js"
}
},
"devDependencies": {
"@babel/core": "^7.13.15",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-proposal-decorators": "^7.13.15",
"@babel/plugin-proposal-object-rest-spread": "^7.13.8",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.13.15",
"@babel/preset-env": "^7.13.15",
"@babel/preset-flow": "^7.13.13",
"@babel/preset-react": "^7.13.13",
"@redhat-cloud-services/eslint-config-redhat-cloud-services": "^1.2.1",
"@redhat-cloud-services/frontend-components-config": "^4.3.5",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@testing-library/react-hooks": "^5.1.2",
"@testing-library/user-event": "^13.1.9",
"@wojtekmaj/enzyme-adapter-react-17": "^0.4.1",
"babel-core": "^6.26.3",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.2",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-transform-imports": "^2.0.0",
"babel-polyfill": "^6.26.0",
"codecov": "^3.7.2",
"css-loader": "^3.5.3",
"dotenv": "^10.0.0",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.6.2",
"eslint": "^7.28.0",
"file-loader": "^6.2.0",
"good-guy-http": "^1.13.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^26.6.3",
"jest-canvas-mock": "^2.3.0",
"mini-css-extract-plugin": "^1.4.1",
"natsort": "^2.0.2",
"npm-run-all": "^4.1.3",
"react-test-renderer": "^17.0.2",
"redux-mock-store": "^1.5.4",
"sass": "^1.32.13",
"sass-loader": "^7.3.1",
"source-map-loader": "^1.1.3",
"style-loader": "^2.0.0",
"stylelint": "^13.12.0",
"stylelint-config-recommended-scss": "^4.2.0",
"stylelint-scss": "^3.17.1",
"webpack": "^5.33.2",
"webpack-bundle-analyzer": "^4.4.1",
"webpack-cli": "^4.6.0"
},
"scripts": {
"build": "NODE_ENV=production webpack --config config/prod.webpack.config.js",
"test": "jest --passWithNoTests",
"test:nocoverage": "jest --passWithNoTests --no-coverage",
"coverage": "codecov",
"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",
"prod": "NODE_ENV=production webpack serve --config config/prod.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",
"travis:build": "NODE_OPTIONS=--max_old_space_size=4096 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",
"nightly": "npm run travis:verify",
"bump:redhatservices": "npm install @redhat-cloud-services/frontend-components-notifications@latest @redhat-cloud-services/frontend-components-utilities@latest @redhat-cloud-services/frontend-components-config@latest @redhat-cloud-services/frontend-components@latest",
"bump:patternfly": "npm install @patternfly/react-core@latest @patternfly/react-table@latest @patternfly/react-charts@latest @patternfly/react-tokens@latest @patternfly/react-icons@latest"
}
}