forked from magda-io/magda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
99 lines (99 loc) · 2.85 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
{
"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": "^1.0.4",
"@gov.au/pancake-sass": "^2.3.7",
"typescript": "~4.2.4",
"type-fest": "~2.18.0"
},
"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": "./node_modules/.bin/eslint magda-web-client/src/",
"create-secrets": "create-secrets",
"start-opa": "opa run deploy/helm/internal-charts/opa/policies",
"test-opa": "opa test deploy/helm/internal-charts/opa/policies -v",
"clean": "rm -rf pancake magda-web-client/src/pancake; 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"
},
"pancake": {
"auto-save": true,
"plugins": true,
"ignore": [],
"json": {
"enable": false,
"location": "pancake/",
"name": "pancake",
"content": {
"name": true,
"version": true,
"dependencies": true,
"path": true,
"settings": true
}
},
"css": {
"minified": true,
"modules": false,
"browsers": [
"last 2 versions",
"ie 8",
"ie 9",
"ie 10"
],
"location": "pancake/css/",
"name": "pancake.min.css"
},
"sass": {
"modules": false,
"location": "pancake/sass/",
"name": "pancake.scss"
},
"js": {
"minified": true,
"modules": false,
"location": "pancake/js/",
"name": "pancake.min.js"
},
"react": {
"location": "pancake/react/"
}
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
}