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",
|
2016-02-17 12:41:45 +00:00
|
|
|
"version": "2.0.0",
|
2016-02-16 14:01:26 +00:00
|
|
|
"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",
|
2016-02-17 08:53:01 +00:00
|
|
|
"version:current": "node -e 'console.log(require(\"./package.json\").version)'",
|
2016-02-17 11:48:46 +00:00
|
|
|
"version:replace": "replace 'Version: \\d+\\.\\d+\\.\\d+' \"Version: $(npm run --silent version:current)\" main.sh src/*.sh",
|
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",
|
2016-02-16 14:01:26 +00:00
|
|
|
"save:fixtures": "cross-env SAVE_FIXTURES=true npm run test",
|
2016-02-17 08:35:25 +00:00
|
|
|
"test": "test/acceptance.sh"
|
2016-02-16 17:55:05 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"fakefile": "0.0.6"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"cross-env": "1.0.7"
|
2016-02-16 14:01:26 +00:00
|
|
|
}
|
2014-11-04 11:59:22 +00:00
|
|
|
}
|