mirror of
https://github.com/kvz/bash3boilerplate.git
synced 2024-12-18 22:27:51 +00:00
22 lines
913 B
JSON
22 lines
913 B
JSON
{
|
|
"name": "bash3boilerplate",
|
|
"description": "Copypastable templates to write better bash scripts",
|
|
"version": "1.2.0",
|
|
"scripts": {
|
|
"release:major": "env SEMANTIC=major npm run release",
|
|
"release:minor": "env SEMANTIC=minor npm run release",
|
|
"release:patch": "env SEMANTIC=patch npm run release",
|
|
"version:current": "node -e 'console.log(require(\"./package.json\").version)'",
|
|
"version:replace": "replace 'Version: \\d+\\.\\d+\\.\\d+' \"Version: $(npm run --silent version:current)\" main.sh",
|
|
"release": "npm version ${SEMANTIC:-patch} -m \"Release %s\" && npm run version:replace && git commit main.sh -m 'Update version' && git push && git push --tags && npm publish",
|
|
"save:fixtures": "cross-env SAVE_FIXTURES=true npm run test",
|
|
"test": "test/acceptance.sh"
|
|
},
|
|
"dependencies": {
|
|
"fakefile": "0.0.6"
|
|
},
|
|
"devDependencies": {
|
|
"cross-env": "1.0.7"
|
|
}
|
|
}
|