Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.gitignore compiled files, build them on prepublish
Following up on slevithan/xregexp#182 (comment), this change removes `lib/`, `xregexp-all.js`, and `bower.json` from the repository. It also adds a `prepublish` [script] that builds/tests the files before publishing to npm, to ensure they are included. You can run [npm pack] to see the `prepublish` script in action, then you can take a look at the generated tarball with `tar tvf xregexp-3.2.0.tgz` and verify that `lib/` and `xregexp-all.js` are still there. [script]: https://docs.npmjs.com/misc/scripts [npm pack]: https://docs.npmjs.com/cli/pack
- Loading branch information