forked from RedHatInsights/notifications-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
151 lines (151 loc) · 6.67 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
{
"name": "notifications-frontend",
"version": "1.1.0",
"private": false,
"dependencies": {
"@data-driven-forms/pf4-component-mapper": "^3.22.0",
"@data-driven-forms/react-form-renderer": "^3.22.0",
"@patternfly/patternfly": "^5.0.0",
"@patternfly/react-core": "^5.0.2",
"@patternfly/react-data-view": "^5.2.0",
"@patternfly/react-icons": "^5.0.0",
"@patternfly/react-styles": "^5.0.0",
"@patternfly/react-table": "^5.0.0",
"@redhat-cloud-services/frontend-components": "^4.0.1",
"@redhat-cloud-services/frontend-components-notifications": "^4.0.0",
"@redhat-cloud-services/frontend-components-translations": "^3.2.7",
"@redhat-cloud-services/frontend-components-utilities": "^4.0.0",
"@redhat-cloud-services/insights-common-typescript": "6.1.1",
"@redhat-cloud-services/rbac-client": "1.2.2",
"@unleash/proxy-client-react": "3.6.0",
"axios": "0.27.2",
"camelcase": "5.3.1",
"classnames": "2.2.6",
"csstips": "1.2.0",
"csx": "10.0.2",
"date-fns": "2.22.1",
"date-fns-tz": "2.0.0",
"formik": "2.2.9",
"immer": "9.0.6",
"in-browser-download": "2.0.0",
"lodash": "4.17.21",
"openapi2typescript": "0.2.0",
"p-limit": "3.1.0",
"react": "^18.0.0",
"react-content-loader": "6.2.0",
"react-dom": "^18.0.0",
"react-fetching-library": "1.7.6",
"react-intl": "6.6.2",
"react-redux": "7.2.9",
"react-router-dom": "6.16.0",
"react-string-format": "0.1.0",
"react-use": "17.4.3",
"redux-logger": "3.0.6",
"redux-promise-middleware": "5.1.1",
"timezones.json": "1.7.0",
"typesafe-actions": "5.1.0",
"typestyle": "2.1.0",
"whatwg-fetch": "^3.6.20",
"yup": "0.32.9",
"zod": "3.22.4"
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "7.12.1",
"@babel/plugin-proposal-object-rest-spread": "7.12.1",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/plugin-transform-runtime": "7.12.1",
"@babel/preset-env": "7.12.1",
"@babel/preset-react": "7.12.5",
"@redhat-cloud-services/eslint-config-redhat-cloud-services": "1.3.0",
"@redhat-cloud-services/frontend-components-config": "^6.2.9",
"@redhat-cloud-services/frontend-components-testing": "0.1.1",
"@redhat-cloud-services/tsc-transform-imports": "^1.0.8",
"@redhat-cloud-services/integrations-client": "^2.5.3",
"@redhat-cloud-services/notifications-client": "^2.5.3",
"@swc/jest": "^0.2.31",
"@testing-library/dom": "9.3.4",
"@testing-library/jest-dom": "6.3.0",
"@testing-library/react": "14.1.2",
"@testing-library/user-event": "14.5.2",
"@types/jest": "29.5.11",
"@types/node": "14.14.8",
"@types/react": "18.2.55",
"@types/react-redux": "7.1.33",
"@types/react-router-dom": "^5.3.0",
"@typescript-eslint/eslint-plugin": "6.10.0",
"@typescript-eslint/parser": "6.10.0",
"assert-never": "1.2.1",
"axios-mock-adapter": "1.19.0",
"babel-plugin-lodash": "3.3.4",
"babel-plugin-transform-imports": "2.0.0",
"cross-fetch": "3.1.5",
"cypress": "^12.0.0",
"eslint": "8.53.0",
"eslint-plugin-jest": "27.6.3",
"eslint-plugin-jest-dom": "4.0.3",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-simple-import-sort": "10.0.0",
"eslint-plugin-testing-library": "6.1.2",
"fetch-mock": "9.10.7",
"identity-obj-proxy": "^3.0.0",
"insights-common-typescript-dev": "0.1.30",
"jest": "^29.7.0",
"jest_workaround": "^0.79.19",
"jest-environment-jsdom": "^29.7.0",
"jest-mock": "27.0.3",
"jest-transform-stub": "2.0.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",
"npm-run-all": "4.1.5",
"openapi2typescript-cli": "0.7.0",
"postcss": "8.3.3",
"prop-types": "15.7.2",
"react-test-renderer": "18.2.0",
"stylelint": "14.9.1",
"stylelint-config-recommended-scss": "6.0.0",
"stylelint-scss": "4.2.0",
"ts-essentials": "7.0.1",
"ts-import-plugin": "1.6.7",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"ts-patch": "^3.1.2",
"typescript": "5.3.3",
"webpack-bundle-analyzer": "4.8.0"
},
"scripts": {
"build": "fec build",
"static": "fec static",
"ci:test": "npm run test --coverage --forceExit --maxWorkers=4 --detectOpenHandles && curl -s https://codecov.io/bash | bash",
"schema-check": "bash ./.travis/schema-check.sh",
"test": "jest --verbose",
"smoketest": "karma start ./config/karma.conf.ts",
"translations": "npm-run-all translations:*",
"translations:extract": "npx @formatjs/cli extract 'src/**/*.{ts, js}' --out-file ./build/messages/src/Messages.json --extract-from-format-message-call --id-interpolation-pattern '[sha512:contenthash:base64:6]'",
"translations:compile": "npx @formatjs/cli compile 'build/messages/src/Messages.json' --out-file ./locales/translations.json",
"lint": "npm-run-all lint:*",
"lint:ts": "eslint --ext js,ts,tsx config src test",
"lint:ts:fix": "eslint --ext js,ts,tsx config src test --fix",
"lint:sass": "stylelint 'src/**/*.scss' --config .stylelintrc.json",
"start": "HOT=true fec dev",
"ci": "npm-run-all build lint 'test --coverage --forceExit --maxWorkers=4 --detectOpenHandles'",
"verify": "npm-run-all build lint test",
"nightly": "npm run deploy",
"schema": "npm-run-all schema:notifications schema:integrations",
"schema:notifications": "npm-run-all 'schema:notifications:generate -- -i https://console.redhat.com/api/notifications/v1.0/openapi.json'",
"schema:notifications:generate": "openapi2typescript -o src/generated/OpenapiNotifications.ts -ed -a react-fetching-library --explicit-types --no-strict --skip-deprecated",
"schema:integrations": "npm-run-all 'schema:integrations:generate -- -i https://console.redhat.com/api/integrations/v1.0/openapi.json'",
"schema:integrations:generate": "openapi2typescript -o src/generated/OpenapiIntegrations.ts -ed -a react-fetching-library --explicit-types --no-strict --skip-deprecated",
"schema:private": "npm-run-all 'schema:private:generate -- -i http://localhost:8085/api/private/v1.0/openapi.json'",
"schema:private:generate": "openapi2typescript -o src/generated/OpenapiPrivate.ts -ed -a react-fetching-library --explicit-types --no-strict",
"schema:rbac": "npm-run-all 'schema:rbac:generate -- -i https://console.redhat.com/api/rbac/v1/openapi.json'",
"schema:rbac:generate": "openapi2typescript -o src/generated/OpenapiRbac.ts -ed -a react-fetching-library --explicit-types --no-strict --api-base-path /api/rbac/v1",
"postinstall": "ts-patch install"
},
"insights": {
"appname": "notifications"
}
}