-
Notifications
You must be signed in to change notification settings - Fork 198
Expand file tree
/
Copy pathpackage.json
More file actions
35 lines (35 loc) · 2 KB
/
package.json
File metadata and controls
35 lines (35 loc) · 2 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
35
{
"name": "bash3boilerplate",
"description": "Copypastable templates to write better bash scripts",
"version": "2.8.0",
"packageManager": "yarn@3.6.0+sha224.19e47520fa56c6146388fdeb438d9dcf6630c3f277a2e1180995c3bb",
"engines": {
"node": ">= 18",
"yarn": "3.6.0"
},
"scripts": {
"lint:shellcheck": "shellcheck --severity=${SHELLCHECK_SEVERITY:-info} $(find . -type f -name '*.sh' -not -path './node_modules/*')",
"lint:shfmt": "test/shfmt.sh lint",
"lint:style": "test/style.pl $(find . -type f -name '*.sh' -not -path './node_modules/*')",
"lint": "npm-run-all -l 'lint:**'",
"fix:shfmt": "test/shfmt.sh fix",
"release:major": "env SEMANTIC=major yarn release",
"release:minor": "env SEMANTIC=minor yarn release",
"release:patch": "env SEMANTIC=patch yarn release",
"release:ready": "test/release-ready.sh",
"release": "yarn release:ready && VERSION=\"$(npm version ${SEMANTIC:-patch} --no-git-tag-version | tail -n 1)\" && yarn version:replace && git add package.json main.sh src/*.sh && git commit -m \"Release ${VERSION}\" && git tag \"${VERSION}\" -m \"Release ${VERSION}\" && git push && git push --tags && npm publish",
"test:fast": "test/acceptance.sh main-longopt-errors && test/acceptance.sh main-logging-contracts && test/acceptance.sh parse_url-strict && test/acceptance.sh parse_url-robust && test/acceptance.sh ini_val-robust && test/acceptance.sh templater-robust",
"test:all": "yarn lint && yarn test && yarn test:bash3:docker",
"test:debug:main:repeated": "env LOG_LEVEL=7 test/acceptance.sh main-repeated",
"test:bash3:docker": "test/bash3-docker.sh",
"test:update": "env SAVE_FIXTURES=true yarn test",
"test": "test/acceptance.sh",
"version:current": "node -e 'console.log(require(\"./package.json\").version)'",
"version:replace": "replace 'v\\d+\\.\\d+\\.\\d+' \"v$(npm run --silent version:current)\" main.sh src/*.sh"
},
"devDependencies": {
"fakefile": "1.1.0",
"npm-run-all": "4.1.5",
"replace": "1.2.2"
}
}