-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
27 lines (27 loc) · 1.43 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"name": "freeruler",
"version": "2.0.8",
"description": "A free ruler for macOS",
"main": "none",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"get:version": "cat package.json | jq -r '.version'",
"get:commits": "git log --pretty=oneline | wc -l",
"bump:version": "npm version patch",
"build:zip": "cd dist && zip -r free-ruler-$(npm run --silent get:version).zip 'Free Ruler.app' && rm -rf 'Free Ruler.app' && cd ..",
"build:commit": "git add --all && git commit -am \"Build v$(npm run --silent get:version)\" && git push --set-upstream origin $(currentbranch)",
"build:pr": "gh pr create --title \"Build v$(npm run --silent get:version)\" --body \"Build v$(npm run --silent get:version)\" --base main --web",
"build:tag": "git tag -a v$(npm run --silent get:version) -m \"v$(npm run --silent get:version)\" && git push origin v$(npm run --silent get:version)",
"build:release": "gh release create v$(npm run --silent get:version) dist/free-ruler-$(npm run --silent get:version).zip --title \"v$(npm run --silent get:version)\" --notes \"v$(npm run --silent get:version)\" --draft"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pascalpp/FreeRuler.git"
},
"author": "Pascal <pascal@pascal.com>",
"license": "ISC",
"bugs": {
"url": "https://github.com/pascalpp/FreeRuler/issues"
},
"homepage": "https://github.com/pascalpp/FreeRuler#readme"
}