bash3boilerplate/package.json

33 lines
1.7 KiB
JSON
Raw Permalink Normal View History

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": {
2016-06-21 08:06:45 +00:00
"deploy": "website/_bin/travis-deploy.sh",
"preview": "cd website && bundle install --path ./_vendor && bundle exec jekyll serve --watch",
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",
2016-02-16 14:01:26 +00:00
"save:fixtures": "cross-env SAVE_FIXTURES=true npm run test",
2016-06-21 08:06:45 +00:00
"test": "test/acceptance.sh",
"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 src/*.sh",
"web:build": "cd website && bundle exec jekyll build --incremental",
"web:inject": "./website/_bin/inject.sh",
"web:install": "npm install && cd website && bundle install --path ./_vendor",
2016-06-21 08:14:19 +00:00
"web:preview": "npm-run-all web:install --parallel web:watch web:serve",
2016-06-21 08:06:45 +00:00
"web:serve": "cd website/_site && browser-sync start --server --files .",
"web:watch": "nodemon --verbose --watch ./ --ignore 'website/*.md' --ignore 'website/_site/*' --ext html,json,md,js,css,png,jpg --exec 'npm-run-all web:inject web:build'"
2016-02-16 17:55:05 +00:00
},
"dependencies": {
"fakefile": "0.0.6"
},
"devDependencies": {
2016-06-21 08:06:45 +00:00
"cross-env": "1.0.7",
"browser-sync": "2.11.0",
"nodemon": "1.8.1",
"npm-run-all": "2.1.1"
2016-02-16 14:01:26 +00:00
}
2014-11-04 11:59:22 +00:00
}