rollup-buble-mocha-boilerplate

2.0.0 • Public • Published

Rollup + Buble + Mocha boilerplate npm version TravisCI

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.

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

Dependencies (0)

    Dev Dependencies (19)

    Package Sidebar

    Install

    npm i rollup-buble-mocha-boilerplate

    Weekly Downloads

    1

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    10.1 kB

    Total Files

    16

    Last publish

    Collaborators

    • w8r