-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
104 lines (104 loc) · 4.71 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
{
"name": "quipucords-ui",
"version": "1.8.0",
"description": "Quipucords UI",
"author": "Red Hat",
"license": "GPL-3.0",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/quipucords/quipucords-ui.git"
},
"bugs": {
"url": "https://github.com/quipucords/quipucords-ui/issues"
},
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"api:dev": "node ./scripts/apiDev.js --port $MOCK_PORT --file https://raw.githubusercontent.com/quipucords/quipucords/master/docs/swagger.yml",
"api:spec": "SPEC=https://petstore.swagger.io/?url=https://raw.githubusercontent.com/quipucords/quipucords/master/docs/swagger.yml; xdg-open $SPEC || open $SPEC",
"api:stage": "sh ./scripts/apiStage.sh -p $MOCK_PORT -t stage",
"api:stage-clean": "sh ./scripts/apiStage.sh -t clean",
"api:stage-stop": "sh ./scripts/apiStage.sh -t stopApi",
"build": "run-s -l build:pre build:js build:post",
"build:brand": "export UI_BRAND=true; run-s -l build:pre build:js build:post",
"build:js": "export NODE_ENV=production; weldable -l ts -x ./config/webpack.prod.js",
"build:eject": "echo \"Outputing webpack config. Remember to move files and scripts into place, and manually remove the weldable package.\"; weldable --standalone",
"build:post": "bash ./scripts/post.sh",
"build:pre": "bash ./scripts/pre.sh",
"release": "changelog --link-url https://github.com/quipucords/quipucords-ui.git",
"start": "export PROTOCOL=http; export HOST=127.0.0.1; export PORT=${PORT:-3000}; export MOCK_PORT=${MOCK_PORT:-3030}; run-p -l api:dev start:js start:open",
"start:js": "export NODE_ENV=development; weldable -l ts -x ./config/webpack.dev.js",
"start:open": "xdg-open $PROTOCOL://$HOST:$PORT/ || open $PROTOCOL://$HOST:$PORT/",
"start:stage": "export PROTOCOL=http; export HOST=127.0.0.1; export PORT=${PORT:-3000}; export MOCK_PORT=${MOCK_PORT:-8000}; run-p -l api:stage start:js start:open",
"test": "export NODE_ENV=test; run-s test:ci-lint test:ci-build test:ci-coverage",
"test:ci-build": "run-s -l build:pre build:js build:post test:integration",
"test:ci-coverage": "export CI=true; jest ./src --coverage",
"test:ci-lint": "run-s test:spell* test:types test:lint",
"test:clearCache": "jest --clearCache",
"test:dev": "export NODE_ENV=test; run-s test:lint test:local",
"test:integration": "jest --roots=./tests",
"test:integration-dev": "jest --roots=./tests --watchAll",
"test:lint": "eslint --ext=json --ext=ts --ext=tsx ./src ./public",
"test:lint-fix": "npm run test:lint -- --fix",
"test:local": "jest --roots=./src --watch",
"test:spell-support": "cspell ./README.md ./config/README.md ./CONTRIBUTING.md './scripts/*.js' './config/*.js' './tests/*.ts*' --config ./config/cspell.config.json",
"test:spell": "cspell './public/locales/**/en*json' './public/index.html' './src/**/*.ts*' --config ./config/cspell.config.json",
"test:types": "tsc --noEmit"
},
"dependencies": {
"@mturley-latest/react-table-batteries": "^1.0.4",
"@patternfly/patternfly": "5.3.1",
"@patternfly/react-core": "5.3.4",
"@patternfly/react-icons": "5.3.2",
"@patternfly/react-styles": "5.3.1",
"@patternfly/react-table": "5.3.4",
"@tanstack/react-query": "^5.55.4",
"@types/jest": "^29.5.12",
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
"@types/react-router-dom": "^5.3.3",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"axios": "^1.7.4",
"detect-browser": "^5.3.0",
"i18next": "^23.15.0",
"i18next-http-backend": "^2.6.1",
"js-cookie": "^3.0.5",
"moment": "^2.30.1",
"npm-run-all": "^4.1.5",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-i18next": "^15.0.1",
"react-router-dom": "6.26.1",
"weldable": "^3.2.0"
},
"devDependencies": {
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"changelog-light": "^2.0.2",
"cspell": "^8.14.2",
"eslint": "8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-comment-length": "^1.7.3",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-jest": "^28.8.3",
"eslint-plugin-jsdoc": "^48.11.0",
"eslint-plugin-json": "^4.0.1",
"eslint-plugin-jsx-a11y": "^6.10.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.35.2",
"eslint-plugin-react-hooks": "^4.6.2",
"express": "^4.19.2",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-watch-typeahead": "2.2.2",
"prettier": "^3.3.3",
"swagger-mock-api": "^1.6.0",
"ts-jest": "^29.2.5"
}
}