forked from quipucords/quipucords-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
158 lines (158 loc) · 6.32 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": "quipucords-ui",
"version": "1.6.1",
"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"
},
"browserslist": {
"production": [
">0.25%",
"not dead"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"scripts": {
"api:build": "run-s -l build:pre build:js build:post",
"api:dev": "sh ./scripts/api.sh -p 5000 -t dev",
"api:specs": "sh ./scripts/api.sh -t specs",
"api:review": "sh ./scripts/api.sh -p 9443 -t review",
"api:stage": "sh ./scripts/api.sh -p 5001 -t stage",
"api:stop": "sh ./scripts/api.sh -t stopApi",
"api:update": "npm run api:build; sh ./scripts/api.sh -t update",
"build": "run-s -l build:pre build:docs test:docs build:template-css build:js build:post test:integration",
"build:clean": "bash ./scripts/clean.sh",
"build:deps": "bash ./scripts/dependencies.sh --doctor -u --doctorInstall \"yarn\" --doctorTest \"yarn test:deps\" --reject \"@patternfly/*, patternfly*, quipudocs\"",
"build:deps-core": "bash ./scripts/dependencies.sh --doctor -u --doctorInstall \"yarn\" --doctorTest \"yarn test:deps\" --filter \"@patternfly/*\"",
"build:docs": "node ./scripts/quipudocs.js",
"build:js": "export NODE_ENV=production; webpack --config ./config/webpack.prod.js",
"build:post": "bash ./scripts/post.sh; bash ./scripts/clean.sh",
"build:pre": "bash ./scripts/pre.sh",
"build:brand": "run-s -l 'build:pre -b' 'build:docs -b' test:docs build:template-css build:js build:post test:integration",
"build:template-scss": "sass --no-source-map --load-path ./src --load-path ./node_modules ./src/styles/template.scss ./src/styles/.css/index.css",
"build:template-css-font": "node ./scripts/templateCssPaths.js",
"build:template-css": "run-s build:template-scss build:template-css-font",
"release": "changelog",
"start": "run-p -l api:dev start:js",
"start:specs": "open https://petstore.swagger.io/?url=https://raw.githubusercontent.com/quipucords/quipucords/master/docs/swagger.yml",
"start:js": "export NODE_ENV=development; webpack serve --config ./config/webpack.dev.js",
"start:js-stage": "export NODE_ENV=development; webpack serve --config ./config/webpack.stage.js",
"start:dev": "npm start",
"start:review": "open https://127.0.0.1:9443/login/; run-s build && run-s -l api:review;",
"start:stage": "open https://localhost:5001/login/; run-s api:build && run-p -l api:stage start:js-stage",
"test": "export NODE_ENV=test; run-s test:lint test:ci",
"test:ci": "export CI=true; jest ./src --coverage",
"test:clearCache": "jest --clearCache",
"test:deps": "run-s test build",
"test:dev": "export NODE_ENV=test; run-s test:lint test:local",
"test:docs": "htmlhint ./public/docs; eslint --ext=json ./public/locales",
"test:integration": "jest ./tests",
"test:integration-dev": "jest --roots=./tests --watch",
"test:lint": "eslint --ext=json --ext=js --ext=jsx ./src",
"test:local": "jest --roots=./src --watch",
"test:spell": "cspell './public/locales/**/en*json' './src/**/*.js' --config ./config/cspell.config.json",
"test:spell-support": "cspell ./README.md ./config/README.md ./CONTRIBUTING.md --config ./config/cspell.config.json"
},
"dependencies": {
"@patternfly/patternfly": "4.224.2",
"@patternfly/react-core": "4.276.8",
"@patternfly/react-icons": "4.93.6",
"@patternfly/react-styles": "4.92.6",
"@patternfly/react-table": "4.113.0",
"@patternfly/react-tokens": "4.94.6",
"axios": "^1.4.0",
"bootstrap": "^5.3.1",
"classnames": "^2.3.2",
"detect-browser": "^5.3.0",
"i18next": "^23.4.4",
"i18next-xhr-backend": "^2.0.1",
"js-cookie": "^3.0.5",
"lodash": "^4.17.21",
"moment": "^2.29.4",
"patternfly": "3.59.5",
"patternfly-react": "2.40.0",
"prop-types": "^15.8.1",
"quipudocs": "git+https://github.com/quipucords/quipudocs.git#^0.9.1",
"react": "^17.0.2",
"react-bootstrap": "^2.8.0",
"react-dom": "^17.0.2",
"react-i18next": "^13.1.2",
"react-redux": "^8.1.2",
"react-router": "^6.15.0",
"react-router-dom": "^6.15.0",
"react-use": "^17.4.0",
"redux": "^4.2.1",
"redux-logger": "^3.0.6",
"redux-promise-middleware": "^6.1.3",
"redux-thunk": "^2.4.2",
"reselect": "^4.1.8"
},
"devDependencies": {
"@babel/core": "7.22.10",
"@babel/eslint-parser": "^7.22.10",
"@babel/plugin-transform-runtime": "^7.22.10",
"@babel/preset-env": "^7.22.10",
"@babel/preset-react": "^7.22.5",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^12.1.5",
"babel-jest": "^29.6.2",
"babel-loader": "^9.1.3",
"changelog-light": "^0.5.0",
"copy-webpack-plugin": "^11.0.0",
"cspell": "^7.3.8",
"css-loader": "^6.8.1",
"css-minimizer-webpack-plugin": "^5.0.1",
"dotenv": "^16.3.1",
"dotenv-expand": "^10.0.0",
"dotenv-webpack": "^8.0.1",
"eslint": "8.50.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.3",
"eslint-plugin-jsdoc": "^46.8.2",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.33.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-webpack-plugin": "^4.0.1",
"glob": "^10.3.3",
"html-replace-webpack-plugin": "^2.6.0",
"html-webpack-plugin": "^5.5.3",
"jest": "29.6.2",
"jest-environment-jsdom": "29.7.0",
"jest-resolve": "29.7.0",
"jest-watch-typeahead": "2.2.2",
"mini-css-extract-plugin": "^2.7.6",
"mini-svg-data-uri": "^1.4.4",
"moxios": "^0.4.0",
"npm-check-updates": "^16.11.1",
"npm-run-all": "^4.1.5",
"prettier": "2.8.8",
"redux-mock-store": "^1.5.4",
"rimraf": "^5.0.1",
"sass": "^1.69.5",
"sass-loader": "^13.3.2",
"style-loader": "^3.3.3",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1",
"webpack-merge": "^5.9.0"
}
}