grunt-checkbranch
A grunt task, which fails, if the repository is not on a correct branch
File Explorer
- checkbranch.js
- checkbranch.test.js
- fixture-gruntfile.js
- .gitignore
- .jshintrc
- .nvmrc
- .travis.yml
- buster.js
- Gruntfile.js
- package.json
- README.md
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
grunt
View Details ▼
grunt
A JavaScript task runner for automating processes.
grunt
Run the default task process:
grunt {{task1 task2 ...}}
Run one or more tasks:
grunt --gruntfile {{path/to/file}}
Specify an alternative configuration file:
npm install
View Details ▼
npm install
Install Node packages.
npm {{[i|install]}}
Install dependencies listed in `package.json`:
npm {{[i|install]}} {{package_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}
Download the latest version of a package and add it to the list of dev dependencies in `package.json`:
