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",
|
2017-02-10 14:32:47 +00:00
|
|
|
"version": "2.3.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",
|
2017-02-14 14:00:34 +00:00
|
|
|
"install:lanyon": "lanyon install",
|
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",
|
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",
|
2016-12-16 12:58:11 +00:00
|
|
|
"start:production": "npm-run-all build:production serve:production",
|
|
|
|
"start": "lanyon start",
|
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
|
|
|
},
|
|
|
|
"lanyon": {
|
2016-12-03 13:02:25 +00:00
|
|
|
"projectDir": "website",
|
2016-12-16 12:58:11 +00:00
|
|
|
"prebuild": "./_scripts/inject.sh",
|
|
|
|
"contentScandir": "../",
|
|
|
|
"contentIgnore": [
|
|
|
|
"website/*.md",
|
|
|
|
"website/main.sh"
|
|
|
|
]
|
2016-02-16 17:55:05 +00:00
|
|
|
},
|
2016-12-15 11:16:31 +00:00
|
|
|
"optionalDependencies": {
|
|
|
|
"fsevents": "*"
|
|
|
|
},
|
2016-12-20 08:23:28 +00:00
|
|
|
"dependencies": {},
|
2016-02-16 17:55:05 +00:00
|
|
|
"devDependencies": {
|
2016-12-20 08:23:28 +00:00
|
|
|
"browser-sync": "2.18.5",
|
|
|
|
"cross-env": "3.1.3",
|
|
|
|
"fakefile": "0.0.8",
|
2017-07-06 09:39:50 +00:00
|
|
|
"lanyon": "0.0.92",
|
2016-12-20 08:23:28 +00:00
|
|
|
"next-update": "1.5.1",
|
2016-12-21 08:52:11 +00:00
|
|
|
"npm-run-all": "3.1.2",
|
|
|
|
"replace": "^0.3.0"
|
2016-02-16 14:01:26 +00:00
|
|
|
}
|
2014-11-04 11:59:22 +00:00
|
|
|
}
|