mirror of
https://github.com/kvz/bash3boilerplate.git
synced 2024-12-24 08:36:37 +00:00
48 lines
1.7 KiB
JSON
48 lines
1.7 KiB
JSON
{
|
|
"name": "bash3boilerplate",
|
|
"description": "Copypastable templates to write better bash scripts",
|
|
"version": "2.3.0",
|
|
"scripts": {
|
|
"build:production": "LANYON_ENV=production lanyon build",
|
|
"build": "lanyon build",
|
|
"deploy": "lanyon deploy",
|
|
"encrypt": "lanyon encrypt",
|
|
"install:lanyon": "lanyon install",
|
|
"lint": "shellcheck --shell=bash $(find . -name '*.sh' -maxdepth 2)",
|
|
"release:major": "env SEMANTIC=major npm run release",
|
|
"release:minor": "env SEMANTIC=minor npm run release",
|
|
"release:patch": "env SEMANTIC=patch npm run release",
|
|
"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",
|
|
"save:fixtures": "cross-env SAVE_FIXTURES=true npm run test",
|
|
"serve:production": "LANYON_ENV=production lanyon serve",
|
|
"start:production": "npm-run-all build:production serve:production",
|
|
"start": "lanyon start",
|
|
"test": "test/acceptance.sh",
|
|
"upgrade:modules": "next-update --keep true --tldr",
|
|
"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": {
|
|
"projectDir": "website",
|
|
"prebuild": "./_scripts/inject.sh",
|
|
"contentScandir": "../",
|
|
"contentIgnore": [
|
|
"website/*.md",
|
|
"website/main.sh"
|
|
]
|
|
},
|
|
"optionalDependencies": {
|
|
"fsevents": "*"
|
|
},
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"browser-sync": "2.18.5",
|
|
"cross-env": "3.1.3",
|
|
"fakefile": "0.0.8",
|
|
"lanyon": "0.0.92",
|
|
"next-update": "1.5.1",
|
|
"npm-run-all": "3.1.2",
|
|
"replace": "^0.3.0"
|
|
}
|
|
}
|