2014-11-04 11:59:22 +00:00
|
|
|
{
|
2014-11-04 12:00:30 +00:00
|
|
|
"name": "bash3boilerplate",
|
2014-11-04 13:55:37 +00:00
|
|
|
"description": "Copypastable templates to write better bash scripts",
|
2019-11-07 13:23:57 +00:00
|
|
|
"version": "2.4.1",
|
2023-08-29 10:01:10 +00:00
|
|
|
"packageManager": "yarn@3.6.0+sha224.19e47520fa56c6146388fdeb438d9dcf6630c3f277a2e1180995c3bb",
|
|
|
|
"engines": {
|
|
|
|
"node": ">= 18",
|
|
|
|
"yarn": "3.6.0"
|
|
|
|
},
|
2016-02-16 14:01:26 +00:00
|
|
|
"scripts": {
|
2016-06-23 12:13:46 +00:00
|
|
|
"lint": "shellcheck --shell=bash $(find . -name '*.sh' -maxdepth 2)",
|
2016-02-16 14:01:26 +00:00
|
|
|
"release:major": "env SEMANTIC=major npm run release",
|
|
|
|
"release:minor": "env SEMANTIC=minor npm run release",
|
|
|
|
"release:patch": "env SEMANTIC=patch npm run release",
|
2016-02-17 12:43:00 +00:00
|
|
|
"release": "npm version ${SEMANTIC:-patch} -m \"Release %s\" && npm run version:replace && git commit main.sh src/*.sh -m 'Update version' && git push && git push --tags && npm publish",
|
2019-10-29 08:52:34 +00:00
|
|
|
"test:debug:main:repeated": "cross-env LOG_LEVEL=7 test/acceptance.sh main-repeated",
|
2019-10-29 07:41:16 +00:00
|
|
|
"test:update": "cross-env SAVE_FIXTURES=true npm run test",
|
2016-11-30 19:07:55 +00:00
|
|
|
"test": "test/acceptance.sh",
|
2016-12-20 08:23:28 +00:00
|
|
|
"upgrade:modules": "next-update --keep true --tldr",
|
2016-11-30 19:07:55 +00:00
|
|
|
"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"
|
2016-11-30 13:57:40 +00:00
|
|
|
},
|
2016-12-15 11:16:31 +00:00
|
|
|
"optionalDependencies": {
|
|
|
|
"fsevents": "*"
|
|
|
|
},
|
2016-02-16 17:55:05 +00:00
|
|
|
"devDependencies": {
|
2016-12-20 08:23:28 +00:00
|
|
|
"cross-env": "3.1.3",
|
|
|
|
"fakefile": "0.0.8",
|
|
|
|
"next-update": "1.5.1",
|
2016-12-21 08:52:11 +00:00
|
|
|
"npm-run-all": "3.1.2",
|
2019-10-29 08:14:02 +00:00
|
|
|
"replace": "0.3.0"
|
2016-02-16 14:01:26 +00:00
|
|
|
}
|
2014-11-04 11:59:22 +00:00
|
|
|
}
|