Wednesday, January 14, 2015

Bower Package Creation: Quick and Dirty

Future Luke - this is Past Luke. I know you're going to forget this almost immediately, and you're too lazy to scroll down the perfectly good Bower docs page, so here's your quick and dirty guide to creating and registering a new Bower package.

>bower lookup <crazy name you came up with>*
>bower init**
>bower register <package name> <git endpoint>

*make sure you're in the same directory as your the relevant JS file (it'll be main in the next step)
**follow the guide. you'll probably mess it up (specifically you're going to mess up the dependencies - you always mess up the dependencies), but don't stress - you can change the bower.json file later

No comments: