bash3boilerplate/package.json

42 lines
1.8 KiB
JSON
Raw 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-11-08 12:07:28 +00:00
"version": "2.1.0",
2016-02-16 14:01:26 +00:00
"scripts": {
2016-12-03 13:02:25 +00:00
"build:production": "LANYON_ENV=production lanyon build",
2016-11-30 19:07:55 +00:00
"build": "lanyon build",
"deploy": "lanyon deploy",
"encrypt": "lanyon encrypt",
"inject": "./website/_scripts/inject.sh",
"injecter": "nodemon --verbose --watch ./ --ignore 'website/*.md' --ignore website/_site --ignore website/.lanyon --ext html,json,md,js,css,png,jpg --exec 'npm run inject'",
2016-11-30 19:56:57 +00:00
"install": "lanyon postinstall",
"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",
2016-02-16 14:01:26 +00:00
"save:fixtures": "cross-env SAVE_FIXTURES=true npm run test",
2016-11-30 18:59:21 +00:00
"serve:production": "LANYON_ENV=production lanyon serve",
"start:production": "npm-run-all inject build:production serve:production",
2016-11-30 19:07:55 +00:00
"start": "npm-run-all --parallel injecter starter",
2016-11-30 18:59:21 +00:00
"starter": "lanyon start",
2016-11-30 19:07:55 +00:00
"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"
},
"lanyon": {
2016-12-03 13:02:25 +00:00
"projectDir": "website",
"prebuild": "npm run inject"
2016-02-16 17:55:05 +00:00
},
"dependencies": {
2016-11-30 19:07:55 +00:00
"fakefile": "0.0.6"
2016-02-16 17:55:05 +00:00
},
"devDependencies": {
2016-06-21 08:06:45 +00:00
"browser-sync": "2.11.0",
"cross-env": "1.0.7",
2016-12-14 16:22:00 +00:00
"lanyon": "0.0.42",
2016-06-21 08:06:45 +00:00
"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
}