Skip to content

Instantly share code, notes, and snippets.

@niqdev
Last active October 9, 2016 20:29
Show Gist options
  • Save niqdev/68376a1d768b9a6ddb5c to your computer and use it in GitHub Desktop.
Save niqdev/68376a1d768b9a6ddb5c to your computer and use it in GitHub Desktop.

Create library

Interactively create a package.json file and create Gruntfile.js file

npm init
npm install grunt --save-dev
npm install <LIBRARY> --save-dev

Setup package manager

bower init
bower install angular --save
bower install <LIBRARY> --save

Publish library

git tag vx.y.z
git push origin master --tags

npm adduser
npm publish ./

bower register angular-q-extras git://github.com/niqdev/angular-q-extras.git
bower info angular-q-extras

angular/angular.js#8737

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment