madrobby/zepto — pull request #949 by silvenon (2014-04-11 21:10:46+00:00)
Title: Make Zepto available for download via Bower

This battle isn't over yet. You might not have `zepto`, but you have `zeptojs` pointing to this repo, which is enough for now. I find `wget`ing libraries very annoying, multiplied by the number of files. I know this library in particular is a bit different in the sense that you build it yourself, but it is annoying as well.

You don't need to add built files to version control, you can link up source files as an array and let the users worry about compression. The choice I had to make was which files to include in `main`. I decided to include all of them (rather than the default set). Users can deal with ignoring ones they don't need, going the other way around is more tricky. [wiredep](https://github.com/taptapship/wiredep) is a utility which is excellent for these situations. When set up, your process of installing components could look like this:

```html

```
```sh
$ bower install --save zepto modernizr normalize-css
$ gulp wiredep # or whatever you're using
```
```html

```

Now, if I want to exclude some Zepto files, I can [configure](https://github.com/taptapship/wiredep#configuration) wiredep to exclude them. Then I just run `gulp wiredep` and everything is updated.

(Sure, Bower is a bit clumsy, but it's getting there.)