-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathpackage.json
More file actions
139 lines (139 loc) · 5.71 KB
/
package.json
File metadata and controls
139 lines (139 loc) · 5.71 KB
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
{
"name": "content-sources-frontend",
"version": "0.0.2",
"private": false,
"scripts": {
"build": "fec build",
"build:prod": "yarn build",
"build:coverage": "COVERAGE=true fec build",
"deploy": "npm-run-all build lint test",
"lint": "eslint '{src,_playwright-tests}/**/*.{js,jsx,ts,tsx}' --no-error-on-unmatched-pattern --ignore-pattern '_playwright-tests/test-utils/*'",
"lint:fix": "eslint --fix '{src,_playwright-tests}/**/*.{js,jsx,ts,tsx}' --no-error-on-unmatched-pattern --ignore-pattern '_playwright-tests/test-utils/*'",
"format": "prettier --write '{src,_playwright-tests}/**/*.{js,jsx,ts,tsx,css,md}' --config ./.prettierrc --ignore-path ./.prettierignore",
"format:check": "prettier --check '{src,_playwright-tests}/**/*.{js,jsx,ts,tsx,css,md}' --config ./.prettierrc --ignore-path ./.prettierignore",
"patch:hosts": "fec patch-etc-hosts",
"start": "fec dev-proxy",
"start:stage": "fec dev-proxy --clouddotEnv=stage",
"start:prod": "fec dev-proxy --clouddotEnv=prod",
"start:verbose": "VERBOSE=true fec dev-proxy",
"local": "BACKEND_PORT=8000 yarn start",
"local:coverage": "COVERAGE=true BACKEND_PORT=8000 fec dev-proxy --config $(pwd)/webpack.dev-coverage.config.js",
"verify": "yarn build && yarn lint && yarn format:check && yarn test-ci",
"postinstall": "ts-patch install",
"test": "TZ=UTC jest --verbose",
"test:coverage": "TZ=UTC jest --verbose --coverage",
"test-ci": "TZ=UTC jest --verbose --no-cache",
"test-ci:coverage": "TZ=UTC jest --verbose --no-cache --coverage",
"test-ui": "yarn install && yarn playwright install && yarn playwright test",
"test-use-creds:stage": "ln -sf creds-stage.json creds.json",
"test-use-creds:prod": "ln -sf creds-prod.json creds.json",
"coverage:report": "mkdir -p .nyc_output && nyc report --reporter=html --reporter=text --reporter=lcov",
"coverage:clean": "rm -rf .nyc_output coverage-e2e",
"testAllPreviewFailures": "npm-run-all -p test jestPreview",
"jestPreview": "jest-preview",
"jestClear": "jest --clearCache",
"get-tests-prod": ".github/workflowScripts/getProdTests.sh"
},
"dependencies": {
"@patternfly/react-core": "^6.3.1",
"@patternfly/react-data-view": "^6.3.0",
"@patternfly/react-drag-drop": "^6.4.3",
"@patternfly/react-icons": "^6.3.1",
"@patternfly/react-styles": "^6.3.1",
"@patternfly/react-table": "^6.3.1",
"@patternfly/react-templates": "^6.4.3",
"@project-kessel/react-kessel-access-check": "^0.5.0",
"@redhat-cloud-services/frontend-components": "^7.4.1",
"@redhat-cloud-services/frontend-components-config": "^6.9.1",
"@redhat-cloud-services/frontend-components-notifications": "^6.6.1",
"@redhat-cloud-services/frontend-components-utilities": "^7.3.1",
"@tanstack/react-query": "^5.100.5",
"@testing-library/dom": "^10.4.1",
"@types/dockerode": "^4.0.1",
"@unleash/proxy-client-react": "^5.0.1",
"axios": "^1.15.2",
"classnames": "^2.5.1",
"content-sources-test-utils": "file:./_playwright-tests/test-utils/_playwright-tests/test-utils",
"crypto-js": "^4.2.0",
"dayjs": "^1.11.20",
"dockerode": "^5.0.0",
"dotenv": "^17.4.2",
"formik": "^2.4.6",
"github-actions-ctrf": "^0.0.58",
"lodash": "^4.18.1",
"playwright-ctrf-json-reporter": "^0.0.29",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-jss": "^10.10.0",
"react-redux": "^9.1.2",
"react-router-dom": "^6.30.3",
"react18-json-view": "^0.2.8",
"redux": "^5.0.1",
"unleash-proxy-client": "^3.8.0",
"yup": "^1.7.1"
},
"devDependencies": {
"@babel/preset-env": "^7.29.2",
"@babel/preset-react": "^7.26.0",
"@babel/preset-typescript": "^7.26.0",
"@currents/playwright": "1.23.2",
"@eslint/eslintrc": "^3.3.5",
"@eslint/js": "^9.39.4",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@jsdevtools/coverage-istanbul-loader": "^3.0.5",
"@playwright/test": "^1.59.1",
"@redhat-cloud-services/tsc-transform-imports": "^1.1.1",
"@redhat-cloud-services/types": "^3.5.1",
"@sentry/webpack-plugin": "^5.2.0",
"@svgr/babel-preset": "^8.1.0",
"@testing-library/jest-dom": "^6.8.0",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.14",
"@types/lodash": "^4.17.23",
"@types/node": "^25.6.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/react-router-dom": "^5.3.3",
"@typescript-eslint/eslint-plugin": "^8.59.1",
"@typescript-eslint/parser": "^8.59.1",
"babel-plugin-istanbul": "^8.0.0",
"eslint": "^9.39.4",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-playwright": "^2.10.2",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-unused-imports": "^4.4.1",
"globals": "^17.5.0",
"htmlparser2": "^9.1.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-junit": "^17.0.0",
"jest-preview": "^0.3.3",
"npm-run-all2": "^8.0.4",
"nyc": "^18.0.0",
"pg": "^8.14.1",
"prettier": "^3.8.3",
"pretty-format": "^30.3.0",
"prop-types": "15.8.1",
"source-map": "^0.8.0-beta.0",
"ts-jest": "^29.4.9",
"ts-patch": "^3.2.1",
"typescript": "^5.9.2",
"webpack-bundle-analyzer": "^5.2.0"
},
"insights": {
"appname": "content-sources",
"buildrepo": "git@github.com:RedHatInsights/content-sources-frontend-build.git"
},
"jest-junit": {
"outputDirectory": "test-results",
"outputName": "jest-junit.xml",
"ancestorSeparator": " › ",
"uniqueOutputName": "false",
"suiteNameTemplate": "{filepath}",
"classNameTemplate": "{classname}",
"titleTemplate": "{title}"
}
}