-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
155 lines (155 loc) · 6.4 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
{
"name": "curiosity-frontend",
"version": "4.14.1",
"description": "A subscription reporting frontend.",
"author": "Red Hat",
"license": "Apache-2.0",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/RedHatInsights/curiosity-frontend.git"
},
"bugs": {
"url": "https://github.com/RedHatInsights/curiosity-frontend/issues"
},
"engines": {
"node": ">=20.0.0"
},
"insights": {
"appname": "subscriptions"
},
"browser": {
"fs": false
},
"browserslist": {
"production": [
">0.25%",
"not dead"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"scripts": {
"api:dev": "mock -p $MOCK_PORT -w ./src/services -w ./src/services/platform -w ./src/services/rhsm",
"api:proxy-hosts": "bash ./scripts/proxy.api.sh",
"api:spec": "SPEC=https://petstore.swagger.io/?url=https://raw.githubusercontent.com/RedHatInsights/rhsm-subscriptions/main/api/rhsm-subscriptions-api-v1-spec.yaml; xdg-open $SPEC || open $SPEC",
"api:spec2": "SPEC=https://petstore.swagger.io/?url=https://raw.githubusercontent.com/RedHatInsights/rhsm-subscriptions/main/api/rhsm-subscriptions-api-v2-spec.yaml; xdg-open $SPEC || open $SPEC",
"build": "run-s -l build:pre build:js build:post test:integration",
"build:deps": "bash ./scripts/dependencies.sh --doctor -u --doctorTest \"npm run test:deps\" --reject \"@patternfly/*, @redhat-cloud-services/frontend*, react-router, victory*\"",
"build:deps-core": "bash ./scripts/dependencies.sh --doctor -u --doctorTest \"npm run test:deps\" --filter \"@patternfly/*, @redhat-cloud-services/frontend*, victory*\"",
"build:docs": "run-s -l test:docs docs:md",
"build:ephemeral": "run-s -l build:pre build:js build:post test:integration-ephemeral",
"build:pr_checks": "run-s -l build:pre build:js build:post",
"build:js": "export NODE_ENV=production; fec build",
"build:post": "bash ./scripts/post.sh",
"build:pre": "bash ./scripts/pre.sh",
"build:prod": "run-s build:ephemeral",
"ci:lint": "run-s test:lint",
"ci:unit-tests": "run-s test",
"dev:chrome": "bash ./scripts/dev.chrome.sh -b prod-stable",
"docs:md": "node ./scripts/readme.docs.js",
"release": "changelog --link-url https://github.com/RedHatInsights/curiosity-frontend.git",
"release:rc": "npm run release -- --dry-run",
"start": "export MOCK_PORT=${MOCK_PORT:-3030}; run-p -l api:dev start:standalone",
"start:js-proxy": "export NODE_ENV=development; fec dev",
"start:proxy": "run-s -l api:proxy-hosts start:js-proxy",
"start:standalone": "export NODE_ENV=development; weldable -l ts -x config/webpack.dev.config.js",
"test": "export NODE_ENV=test; run-s test:spell* test:lint test:ci",
"test:ci": "export CI=true; jest ./src --coverage",
"test:ci-ephemeral": "export CI=true; TZ=UTC jest ./src --coverage --no-cache",
"test:ephemeral": "export NODE_ENV=test; run-s test:spell* test:lint test:ci-ephemeral",
"test:clearCache": "jest --clearCache",
"test:dev": "export NODE_ENV=test; run-s test:spell test:lint test:local",
"test:deps": "run-s test build",
"test:docs": "run-s test:spell test:lint",
"test:integration": "jest ./tests",
"test:integration-ephemeral": "TZ=UTC jest ./tests --no-cache --testPathIgnorePatterns ./tests/dist.test.js",
"test:integration-dev": "jest --roots=./tests --watch",
"test:lint": "eslint --ext=json --ext=js --ext=jsx ./src",
"test:lintfix": "eslint --ext=json --ext=js --ext=jsx --fix ./src",
"test:spell-support": "cspell ./README.md ./config/README.md ./CONTRIBUTING.md --config ./config/cspell.config.json",
"test:spell": "cspell './public/locales/**/en*json' './src/**/*.js' --config ./config/cspell.config.json",
"test:local": "jest --roots=./src --watch",
"verify": "run-s test:ephemeral build:pr_checks",
"postinstall": "ts-patch install"
},
"dependencies": {
"@joi/date": "^2.1.1",
"@patternfly/patternfly": "5.4.2",
"@patternfly/react-charts": "7.4.5",
"@patternfly/react-core": "5.4.2",
"@patternfly/react-icons": "5.4.0",
"@patternfly/react-styles": "5.4.1",
"@patternfly/react-table": "5.4.8",
"@patternfly/react-tokens": "5.4.1",
"@redhat-cloud-services/frontend-components": "4.2.16",
"@redhat-cloud-services/frontend-components-notifications": "4.1.0",
"@redhat-cloud-services/frontend-components-utilities": "4.0.17",
"axios": "^1.7.7",
"classnames": "^2.5.1",
"fastest-levenshtein": "^1.0.16",
"i18next": "^23.16.0",
"i18next-http-backend": "^2.6.2",
"iso-639-1": "^3.1.3",
"joi": "^17.13.3",
"js-cookie": "^3.0.5",
"lodash": "^4.17.21",
"lru-cache": "^11.0.1",
"moment": "^2.30.1",
"numbro": "^2.5.0",
"prop-types": "^15.8.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-i18next": "^15.0.3",
"react-redux": "^9.1.2",
"react-use": "^17.5.1",
"redux": "^5.0.1",
"redux-logger": "^3.0.6",
"redux-thunk": "^3.1.0",
"victory": "37.2.0",
"victory-create-container": "37.2.0"
},
"devDependencies": {
"@babel/core": "7.26.0",
"@babel/eslint-parser": "7.25.9",
"@redhat-cloud-services/frontend-components-config": "6.3.1",
"@redhat-cloud-services/tsc-transform-imports": "^1.0.17",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"apidoc-mock": "^5.0.5",
"babel-jest": "^29.7.0",
"changelog-light": "^2.0.3",
"cspell": "^8.15.7",
"eslint": "8.57.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-comment-length": "^2.1.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.8.3",
"eslint-plugin-jsdoc": "^50.4.3",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.37.1",
"eslint-plugin-react-hooks": "^4.6.2",
"glob": "^11.0.0",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-resolve": "29.7.0",
"jest-watch-typeahead": "2.2.2",
"jsdoc-to-markdown": "9.0.5",
"moxios": "^0.4.0",
"npm-check-updates": "^17.1.10",
"npm-run-all": "^4.1.5",
"prettier": "^3.3.3",
"ts-patch": "^3.2.1",
"typescript": "^5.6.3",
"weldable": "^3.2.0",
"yamljs": "^0.3.0"
}
}