forked from RedHatInsights/policies-ui-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
165 lines (165 loc) · 6.81 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
{
"name": "policies-ui-frontend",
"version": "1.1.0",
"private": false,
"dependencies": {
"@babel/runtime": "7.14.8",
"@patternfly/patternfly": "4.115.2",
"@patternfly/react-core": "4.135.0",
"@patternfly/react-icons": "4.11.0",
"@patternfly/react-styles": "4.11.0",
"@patternfly/react-table": "4.29.0",
"@redhat-cloud-services/frontend-components": "3.3.5",
"@redhat-cloud-services/frontend-components-notifications": "3.2.2",
"@redhat-cloud-services/frontend-components-utilities": "3.2.3",
"@redhat-cloud-services/insights-common-typescript": "4.10.0",
"@redhat-cloud-services/rbac-client": "1.0.100",
"antlr4ts": "0.5.0-alpha.4",
"assert-never": "1.2.1",
"axios": "0.21.1",
"babel-plugin-transform-imports": "2.0.0",
"camelcase": "5.3.1",
"classnames": "2.2.6",
"csstips": "1.2.0",
"csx": "10.0.2",
"date-fns": "2.9.0",
"formik": "2.2.9",
"http-status-codes": "1.4.0",
"in-browser-download": "2.0.0",
"lodash": "4.17.21",
"openapi2typescript": "0.1.4",
"react": "17.0.2",
"react-content-loader": "3.4.2",
"react-dom": "17.0.2",
"react-fetching-library": "1.7.6",
"react-flexview": "4.0.4",
"react-helmet": "6.1.0",
"react-id-generator": "3.0.1",
"react-redux": "5.1.2",
"react-router-dom": "5.2.0",
"react-string-format": "0.0.92",
"react-use": "17.2.4",
"redux": "4.0.5",
"redux-logger": "3.0.6",
"redux-promise-middleware": "5.1.1",
"typestyle": "2.1.0",
"yup": "0.32.9",
"zod": "1.11.11"
},
"devDependencies": {
"@babel/core": "7.14.8",
"@babel/helper-validator-identifier": "7.14.8",
"@babel/plugin-proposal-class-properties": "7.14.5",
"@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.8",
"@babel/preset-react": "7.14.5",
"@redhat-cloud-services/frontend-components-config": "4.3.1",
"@testing-library/dom": "7.31.2",
"@testing-library/jest-dom": "5.13.0",
"@testing-library/react": "11.2.7",
"@testing-library/react-hooks": "7.0.0",
"@testing-library/user-event": "13.1.0",
"@types/jest": "25.1.5",
"@types/node": "15.12.1",
"@types/react": "17.0.15",
"@types/react-dom": "17.0.9",
"@types/react-helmet": "6.1.0",
"@types/react-redux": "7.1.11",
"@types/react-router-dom": "5.1.7",
"@types/webpack": "4.41.25",
"@types/webpack-dev-server": "3.9.0",
"@typescript-eslint/eslint-plugin": "4.26.1",
"@typescript-eslint/parser": "4.26.1",
"antlr4ts-cli": "0.5.0-alpha.3",
"axios-mock-adapter": "1.18.2",
"babel-core": "7.0.0-bridge.0",
"babel-eslint-parser": "7.13.10",
"babel-jest": "27.0.6",
"babel-loader": "8.2.2",
"babel-plugin-lodash": "3.3.4",
"chokidar": "3.0.0",
"cli-progress": "3.8.2",
"commander": "6.0.0",
"cross-fetch": "3.1.4",
"css-loader": "5.2.6",
"dotenv": "8.2.0",
"eslint": "7.28.0",
"eslint-config-prettier": "8.3.0",
"eslint-loader": "4.0.2",
"eslint-plugin-jest": "24.3.6",
"eslint-plugin-jest-dom": "3.9.0",
"eslint-plugin-react": "7.24.0",
"eslint-plugin-react-hooks": "4.2.0",
"eslint-plugin-simple-import-sort": "7.0.0",
"eslint-plugin-testing-library": "4.6.0",
"fetch-mock": "9.11.0",
"glob": "7.1.7",
"identity-obj-proxy": "3.0.0",
"insights-common-typescript-dev": "0.1.17",
"is-ci": "2.0.0",
"jest": "26.6.3",
"jest-mock": "26.1.0",
"karma": "6.3.3",
"karma-chrome-launcher": "3.1.0",
"karma-firefox-launcher": "2.1.0",
"karma-jasmine": "4.0.1",
"karma-webpack": "5.0.0",
"lock-dependencies": "0.0.2",
"lookpath": "1.1.0",
"npm-run-all": "4.1.5",
"openapi2typescript-cli": "0.4.2",
"postcss": "8.3.6",
"prop-types": "15.7.2",
"random-words": "1.1.1",
"react-test-renderer": "17.0.2",
"sass-loader": "11.0.1",
"stylelint": "13.13.1",
"stylelint-config-recommended-scss": "4.2.0",
"stylelint-scss": "3.19.0",
"ts-essentials": "3.0.5",
"ts-import-plugin": "1.6.7",
"ts-jest": "26.5.6",
"ts-node": "10.0.0",
"typescript": "4.3.5",
"webpack": "5.46.0",
"webpack-bundle-analyzer": "3.6.1",
"webpack-cli": "4.5.0"
},
"scripts": {
"build": "webpack --config config/prod.webpack.config.ts",
"ci:test": "yarn test --coverage --forceExit --maxWorkers=4 --detectOpenHandles && curl -s https://codecov.io/bash | bash",
"ci:schema": "bash ./.travis/schema-check.sh",
"ci:pinned-deps": "bash ./.travis/pinned-deps.sh",
"test": "jest --verbose",
"smoketest": "karma start ./config/karma.conf.ts",
"lint": "npm-run-all lint:*",
"lint:ts": "eslint --ext js,ts,tsx config src",
"lint:ts:fix": "eslint --ext js,ts,tsx config src --fix",
"lint:sass": "stylelint 'src/**/*.scss' --config .stylelintrc.json",
"prod": "NODE_ENV=production webpack serve --config config/dev.webpack.config.ts",
"prod:beta": "NODE_ENV=production BETA=true webpack serve --config config/dev.webpack.config.ts",
"server:ctr": "node src/server/generateServerKey.js",
"start": "NODE_ENV=development webpack serve --config config/dev.webpack.config.ts",
"start:beta": "NODE_ENV=development BETA=true webpack serve --config config/dev.webpack.config.ts",
"build:prod": "NODE_ENV=production webpack --config config/prod.webpack.config.ts",
"travis": "npm-run-all build:prod lint 'test --coverage --forceExit --maxWorkers=4 --detectOpenHandles' smoketest",
"verify": "npm-run-all build lint test",
"nightly": "npm run deploy",
"proxy": "SPANDX_CONFIG=\"profiles/local-frontend-and-api.ts\" bash $PROXY_PATH/scripts/run.sh",
"proxy-ui": "SPANDX_CONFIG=\"profiles/local-frontend.ts\" bash $PROXY_PATH/scripts/run.sh",
"schema": "npm-run-all schema:policies",
"schema:policies": "npm-run-all 'schema:policies:generate -i http://localhost:8080/api/policies/v1.0/openapi.json'",
"schema:policies:generate": "openapi2typescript -o src/generated/Openapi.ts -ed -a react-fetching-library --explicit-types --no-strict",
"expression": "yarn expression:download && yarn expression:generate && yarn expression:copy && yarn expression:clean",
"expression:download": "mkdir -p utils/expression; curl https://raw.githubusercontent.com/RedHatInsights/policies-engine/master/api/src/main/antlr4/com/redhat/cloud/policies/api/model/condition/expression/parser/Expression.g4 > utils/expression/Expression.g4",
"expression:generate": "antlr4ts -visitor utils/expression/Expression.g4",
"expression:copy": "cp ./utils/expression/*.ts ./src/utils/Expression/; cp ./utils/expression/Expression.g4 ./src/utils/Expression",
"expression:clean": "rm -rf ./utils/expression",
"pushhost": "./src/cli/pushhost.ts"
},
"insights": {
"appname": "policies"
}
}