mirror of
https://github.com/kvz/bash3boilerplate.git
synced 2024-12-18 22:27:51 +00:00
d383e8c098
moved entries in changelog from `unreleased` to 2.1.0 (even though technically it's too late for that since that version was already released). added new section for 2.2.0 and added some points on what changed. bumped version to 2.2.0 in main.sh, example.sh and package.json Closes #74
47 lines
1.7 KiB
JSON
47 lines
1.7 KiB
JSON
{
|
|
"name": "bash3boilerplate",
|
|
"description": "Copypastable templates to write better bash scripts",
|
|
"version": "2.2.0",
|
|
"scripts": {
|
|
"build:production": "LANYON_ENV=production lanyon build",
|
|
"build": "lanyon build",
|
|
"deploy": "lanyon deploy",
|
|
"encrypt": "lanyon encrypt",
|
|
"install": "lanyon postinstall",
|
|
"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.47",
|
|
"next-update": "1.5.1",
|
|
"npm-run-all": "3.1.2"
|
|
}
|
|
}
|