-
Notifications
You must be signed in to change notification settings - Fork 93
/
package.json
61 lines (61 loc) · 2.07 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
{
"private": true,
"workspaces": {
"packages": [
"deploy",
"magda-*",
"scripts",
"packages/*"
],
"nohoist": [
"**/react-scripts",
"**/react-scripts/**",
"**/@kubernetes/client-node/**"
]
},
"eslintIgnore": [
"src/pancake/**"
],
"devDependencies": {
"glob": "^7.1.2",
"husky": "^3.1.0",
"lerna": "^3.20.2",
"lodash": "^4.17.5",
"prettier": "^2.0.5",
"pretty-quick": "^2.0.1",
"rimraf": "^3.0.0",
"ts-module-alias-transformer": "^2.0.1",
"typescript": "~5.3.3",
"tsx": "^4.7.0",
"type-fest": "~2.18.0",
"@types/estree": "^1.0.5",
"@types/node": "18.19.3"
},
"scripts": {
"build": "lerna run build --stream --concurrency=1",
"docker-build-local": "lerna run docker-build-local --stream --concurrency=1",
"docker-build-prod": "lerna run docker-build-prod --stream --concurrency=1",
"create-all-tsconfigs": "node ./scripts/create-all-tsconfigs.js",
"in-submodules": "node ./scripts/run-in-submodules.js",
"build-changed-ts": "node ./scripts/build-changed.js",
"build-changed-scala": "bash -c \"sbt deployLocalOnChange\"",
"build-changed": "yarn run build-changed-ts && yarn run build-changed-scala",
"prettier": "prettier --write '**/*.js' '**/*.ts' '**/*.json' '!**/regions/**' '!**/dist/**' '!**/build/**' '!**/bin/**'",
"retag-and-push": "lerna run retag-and-push --stream",
"eslint": "magda-web-client/node_modules/.bin/eslint magda-web-client/src/",
"start-opa": "opa run deploy/helm/internal-charts/opa/policies",
"test-opa": "opa test deploy/helm/internal-charts/opa/policies -v",
"clean": "rm -rf ./node_modules; for dir in magda-*; do echo \"Removing node_modules from $dir\"; rm -rf $dir/node_modules; done",
"update-all-charts": "cd deploy && yarn update-all-charts && cd ..",
"set-version": "lerna version --no-push --force-publish",
"helm-docs": "cd deploy && yarn helm-docs && cd .."
},
"engines": {
"node": ">=18.19.0"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
}