Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/w8r/rollup-buble-mocha-boilerplate
Library boilerplate with rollup + buble + mocha
https://github.com/w8r/rollup-buble-mocha-boilerplate
boilerplate buble es6 library mocha rollup starter-kit
Last synced: about 1 month ago
JSON representation
Library boilerplate with rollup + buble + mocha
- Host: GitHub
- URL: https://github.com/w8r/rollup-buble-mocha-boilerplate
- Owner: w8r
- License: mit
- Created: 2017-03-17T16:21:58.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-26T11:50:07.000Z (over 6 years ago)
- Last Synced: 2024-11-14T12:16:58.476Z (about 1 month ago)
- Topics: boilerplate, buble, es6, library, mocha, rollup, starter-kit
- Language: JavaScript
- Size: 50.8 KB
- Stars: 11
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rollup + Buble + Mocha boilerplate [![npm version](https://badge.fury.io/js/rollup-buble-mocha-boilerplate.svg)](https://badge.fury.io/js/rollup-buble-mocha-boilerplate) [![TravisCI](https://travis-ci.org/w8r/rollup-buble-mocha-boilerplate.svg?branch=master)](https://travis-ci.org/w8r/rollup-buble-mocha-boilerplate)
Couldn't find the right (purist) combination, which would allow comfortably author
Javascript libraries without the overhead and slowness of Babel, but with
the best parts of ES6, with mocha, but without karma, yet still be able to write
tests in ES6 and only bundle them invisibly. Also no build systems but npm scripts.```sh
git clone https://github.com/w8r/rollup-buble-mocha-boilerplate.git your-project
cd your-project
rm -rf .git
git init
# then edit your package.json
```## Scripts
* **npm run build** to run eslint and build the es6 and es5 umd versions of your lib into `dist`
* **npm test** to run tests
* **npm start** to watch `src` and `tests` and re-run tests## ESLint
I added airbnb standard as quite a strict one, from which you can go down to
whatever suits you.## License
MIT