-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathpackage.json
158 lines (158 loc) · 6.17 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": "policies-ui-frontend",
"version": "1.1.0",
"private": false,
"dependencies": {
"@babel/runtime": "7.14.8",
"@patternfly/patternfly": "^5.4.0",
"@patternfly/react-component-groups": "^5.2.0",
"@patternfly/react-core": "^5.4.0",
"@patternfly/react-icons": "^5.4.0",
"@patternfly/react-styles": "^5.4.0",
"@patternfly/react-table": "^5.4.0",
"@redhat-cloud-services/frontend-components": "^4.2.15",
"@redhat-cloud-services/frontend-components-notifications": "3.2.2",
"@redhat-cloud-services/frontend-components-utilities": "3.5.0",
"@redhat-cloud-services/insights-common-typescript": "^6.1.1",
"@redhat-cloud-services/rbac-client": "1.0.100",
"antlr4ts": "0.5.0-alpha.4",
"assert-never": "1.2.1",
"axios": "^1.7.7",
"babel-plugin-transform-imports": "2.0.0",
"camelcase": "5.3.1",
"classnames": "2.5.1",
"csstips": "1.2.0",
"csx": "10.0.2",
"date-fns": "2.9.0",
"env-cmd": "10.1.0",
"formik": "^2.4.6",
"http-status-codes": "1.4.0",
"in-browser-download": "2.0.0",
"lodash": "4.17.21",
"openapi2typescript": "0.1.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"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": "^6.26.1",
"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": "^6.2.9",
"@redhat-cloud-services/tsc-transform-imports": "^1.0.16",
"@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.3.3",
"@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",
"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.19",
"is-ci": "2.0.0",
"jest": "27.5.1",
"jest-mock": "26.1.0",
"karma": "^6.4.3",
"karma-chrome-launcher": "3.1.0",
"karma-firefox-launcher": "2.1.2",
"karma-jasmine": "4.0.1",
"karma-webpack": "5.0.0",
"lookpath": "1.1.0",
"npm-run-all": "4.1.5",
"openapi2typescript-cli": "0.5.1",
"postcss": "8.4.31",
"random-words": "1.2.0",
"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": "27.1.5",
"ts-node": "10.0.0",
"ts-patch": "^3.2.1",
"typescript": "4.6.2",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^5.1.4"
},
"scripts": {
"build": "fec build",
"build:prod": "fec build",
"ci:test": "yarn test --coverage --forceExit --maxWorkers=4 --detectOpenHandles && curl -s https://codecov.io/bash | bash",
"ci:schema": "bash ./.travis/schema-check.sh",
"test": "TZ=UTC jest --verbose --no-cache",
"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",
"server:ctr": "node src/server/generateServerKey.js",
"start": "fec dev",
"start:proxy": "PROXY=true fec dev",
"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",
"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",
"postinstall": "ts-patch install"
},
"insights": {
"appname": "policies"
}
}