-
Notifications
You must be signed in to change notification settings - Fork 25
/
package.json
83 lines (83 loc) · 3.89 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
{
"name": "@hawtio/online-root",
"version": "0.0.0",
"private": true,
"description": "Containerized version of hawtio for kubernetes",
"author": "Hawtio developer team",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/hawtio/hawtio-online.git"
},
"workspaces": [
"packages/*",
"docker",
"docker/*"
],
"scripts": {
"build": "yarn build:online && yarn license",
"start:online": "yarn build:mgmt && yarn start:shell",
"build:online": "yarn workspaces foreach -v -Aipt --exclude @hawtio/online-root --exclude \"@hawtio/*-app\" run build",
"start:shell": "yarn workspace @hawtio/online-shell start",
"build:shell": "yarn workspace @hawtio/online-shell build",
"start:mgmt": "yarn build:mgmt && yarn start:mgmtApp",
"build:mgmt": "yarn build:k8s && yarn build:mgmtApi",
"start:mgmtApp": "yarn workspace @hawtio/online-management-api-app start",
"build:mgmtApi": "yarn workspace @hawtio/online-management-api build",
"start:k8s": "yarn build:k8s && yarn start:k8sApp",
"analyze:k8s": "yarn build:k8s && yarn analyze:k8sApp",
"build:k8s": "yarn build:oAuthApi && yarn build:k8sApi",
"start:k8sApp": "yarn workspace @hawtio/online-kubernetes-api-app start",
"analyze:k8sApp": "yarn workspace @hawtio/online-kubernetes-api-app analyze",
"build:k8sApi": "yarn workspace @hawtio/online-kubernetes-api build",
"start:oAuth": "yarn build:oAuthApi && yarn start:oAuthApp",
"start:oAuthApp": "yarn workspace @hawtio/online-oauth-app start",
"build:oAuthApi": "yarn workspace @hawtio/online-oauth build",
"build:gateway": "yarn workspace @hawtio/gateway build",
"lint": "yarn eslint packages/ docker/gateway/",
"lint:fix": "yarn eslint packages/ docker/gateway/ --fix",
"format:check": "yarn prettier --check packages/ docker/gateway/",
"format:fix": "yarn prettier --write packages/ docker/gateway/",
"image": "docker build -t quay.io/${ORG:-hawtio}/${PROJECT:-online}:${TAG:-latest} -f Dockerfile-nginx .",
"image:gateway": "docker build -t quay.io/${ORG:-hawtio}/${PROJECT:-online-gateway}:${TAG:-latest} -f Dockerfile-gateway .",
"license": "mkdir -p docker/licenses && yarn licenses generate-disclaimer -R > docker/licenses/licenses.txt",
"gen:proxying": "./scripts/generate-proxying.sh",
"gen:serving": "./scripts/generate-serving.sh",
"test": "yarn workspaces foreach -v -Aipt --exclude @hawtio/online-root --exclude \"@hawtio/*-app\" run test",
"test:watch": "yarn workspaces foreach -v -Aipt --exclude @hawtio/online-root --exclude \"@hawtio/*-app\" run test:watch",
"deploy:k8s:namespace": "./scripts/kube-apply.sh deploy/k8s/namespace/",
"deploy:k8s:cluster": "./scripts/kube-apply.sh deploy/k8s/cluster/",
"deploy:openshift:namespace": "./scripts/kube-apply.sh deploy/openshift/namespace/",
"deploy:openshift:cluster": "./scripts/kube-apply.sh deploy/openshift/cluster/ && ./deploy/openshift/cluster/oauthclient.sh $ROUTE_HOSTNAME",
"kustomize:image": "cd deploy/base && kustomize edit set image hawtio/online=quay.io/${ORG:-hawtio}/${PROJECT:-online}:${TAG:-latest}"
},
"devDependencies": {
"@eslint/compat": "^1.2.0",
"@eslint/js": "^9.12.0",
"compression-webpack-plugin": "^11.1.0",
"concurrently": "^8.2.2",
"cz-conventional-changelog": "3.3.0",
"eslint": "^9.1.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-testing-library": "^6.3.0",
"prettier": "3.3.3",
"typescript-eslint": "^8.8.0"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog",
"maxLineWidth": 80
}
},
"packageManager": "[email protected]",
"engines": {
"yarn": ">=4.3.1",
"node": ">=20"
},
"resolutions": {
"eslint-config-react-app/eslint-plugin-react-hooks": "^4.6.2"
}
}