forked from willfarrell/terraform-aws-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
37 lines (37 loc) · 1.15 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
{
"name": "app-infrastructure",
"version": "1.0.0",
"description": "",
"private": true,
"scripts": {
"commitmsg": "commitlint -e $GIT_PARAMS",
"precommit": "lint-staged && npm run lint:tf",
"install:npm": "find . -name package.json -not -path \"*/node_modules/*\" -exec bash -c \"npm --prefix \\$(dirname {}) install --production --no-audit\" \\;",
"build:apig": "echo 'make apig routes'",
"build:docker": "find . -name Dockerfile -exec bash -c \"echo $(dirname {})\"",
"lint": "npm run lint:tf && npm run lint:js",
"lint:tf": "terraform fmt",
"lint:js": "prettier-standard 'src/**/*.{js,json}'",
"test": "echo \"Error: no test specified\" && exit 1"
},
"devDependencies": {
"@commitlint/cli": "^6.1.3",
"@commitlint/config-conventional": "^6.1.3",
"@commitlint/config-lerna-scopes": "^6.1.3",
"husky": "^1.1.1",
"lint-staged": "^7.3.0",
"prettier-standard-cli": "^11.0.6"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional",
"@commitlint/config-lerna-scopes"
]
},
"lint-staged": {
"./**/*.{js,json}": [
"npm run lint:js",
"git add"
]
}
}