forked from devopsmakers/xterrafile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
22 lines (22 loc) · 801 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"name": "xterrafile",
"description": "a pure Go tool for managing vendored modules and formulas using a YAML file",
"version": "2.3.2",
"license": "MIT",
"private": true,
"scripts": {
"test": "go build -v ; go test -v ./...",
"gitbranch": "BRANCH=$(git rev-parse --abbrev-ref HEAD); if [[ \"$BRANCH\" != \"master\" ]]; then echo \"you must be on master branch to release\" >&2; exit 1 ; fi",
"gitstatus": "STATUS=$(git status --porcelain 2>&1); echo $STATUS >&2; if [[ ! -z \"$STATUS\" ]]; then exit 1; fi;",
"gittest": "yarn gitbranch && yarn gitstatus",
"push": "git push --follow-tags origin master"
},
"standard-version": {
"scripts": {
"prerelease": "yarn gittest && yarn test"
}
},
"dependencies": {
"standard-version": "^7.0.0"
}
}