-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
34 lines (34 loc) · 1.45 KB
/
package.json
File metadata and controls
34 lines (34 loc) · 1.45 KB
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
{
"name": "cookiecutter-nodejs",
"version": "1.0.0",
"description": "Cookiecutter for setting up a NodeJS project",
"repository": {
"type": "git",
"url": "https://github.ibm.com/GOTREASA/cookiecutter-nodejs"
},
"license": "Apache-2.0",
"author": "Gearoid O'Treasaigh",
"main": "index.js",
"scripts": {
"detect-secrets": "echo ${INIT_CWD} && cross-env-shell docker run --rm -v ${INIT_CWD}:/code icr.io/git-defenders/detect-secrets-hook:0.13.1.ibm.56.dss --baseline .secrets.baseline",
"detect-secrets:audit": "cross-env-shell docker run -it --rm -v ${INIT_CWD}:/code icr.io/git-defenders/detect-secrets:0.13.1.ibm.56.dss audit --report --fail-on-unaudited --fail-on-live --fail-on-audited-real .secrets.baseline",
"detect-secrets:exclude": "cross-env-shell docker run --rm -v ${INIT_CWD}:/code icr.io/git-defenders/detect-secrets:0.13.1.ibm.56.dss scan --update .secrets.baseline --exclude-files",
"detect-secrets:update-baseline": "cross-env-shell docker run --rm -v ${INIT_CWD}:/code icr.io/git-defenders/detect-secrets:0.13.1.ibm.56.dss scan --update .secrets.baseline",
"prepare": "husky install",
"test": "echo \"Error: no test specified\" && exit 1"
},
"lint-staged": {
"*": [
"npm run detect-secrets"
],
"package.json": [
"sort-package-json"
]
},
"devDependencies": {
"cross-env": "^7.0.3",
"husky": "^8.0.3",
"lint-staged": "^13.2.0",
"sort-package-json": "^2.4.1"
}
}