-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
55 lines (55 loc) · 1.48 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
{
"name": "multicloud-k8s-iac",
"version": "1.0.1",
"description": "Provisioning Kubernetes on Minikube/GKE with Terraform",
"keywords": [
"terraform",
"helm",
"kubectl",
"kubernetes"
],
"repository": {
"type": "git",
"url": "https://github.com/chrisleekr/multicloud-k8s-iac.git"
},
"scripts": {
"prepare": "husky install",
"precommit": "lint-staged",
"lint:gcp": "tflint gcp",
"lint:dockerfile": "hadolint Dockerfile",
"docker:build": "./scripts/docker-build.sh",
"docker:run": "./scripts/docker-run.sh",
"docker:shell": "docker exec -it \"multicloud-k8s-iac\" /bin/bash",
"docker:exec": "npm run docker:run && npm run docker:shell"
},
"author": "Chris Lee <[email protected]>",
"license": "UNLICENSED",
"private": true,
"bugs": {
"url": "https://github.com/chrisleekr/multicloud-k8s-iac/issues"
},
"homepage": "https://github.com/chrisleekr/multicloud-k8s-iac#readme",
"devDependencies": {
"@commitlint/cli": "^17.6.6",
"@commitlint/config-conventional": "^17.6.6",
"branch-name-lint": "^2.1.1",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"prettier": "^3.0.0"
},
"husky": {
"hooks": {
"pre-commit": "npm run precommit"
}
},
"lint-staged": {
"Dockerfile": [
"npm run lint:dockerfile"
],
"*.{tf,hcl,tfbackend}": [
"cd ./workspaces && terraform fmt -recursive && cd ..",
"cd ./workspaces && terraform validate && cd ..",
"git add"
]
}
}