setting specific branch in package.json code example
Example: npm install from github branch
npm install git://github.com/shakacode/bootstrap-loader.git#v1 --save
npm install git://github.com/shakacode/bootstrap-loader.git#v1 --save