1.0.6 • Published 6 years ago

check-git-branch v1.0.6

Weekly downloads
3
License
ISC
Repository
github
Last release
6 years ago

check-git-branch

Build Status

Ensure that script commands in package. JSON are only allowed to execute on specified git branches

usage

Maybe you should cooperate with cross-env

npm i check-git-branch -D
npm i cross-env -D

package.json in your project

"scripts": {
   "build": "branch master && cross-env NODE_ENV=production node build/build.js",
   "build-test": "branch dev && cross-env NODE_ENV=sandbox node build/build.js"
},
1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

7 years ago

1.0.0

7 years ago