babel-webpack-lib-example
Demonstrating
- Some features of ES6
- Transpilation using Babel
- Bundling into a library (Commonjs2 module) using Webpack
Usage
- Install project dependencies
npm install
- Run lint :
npm run lint --silent
- Build :
npm run build
- Build (dev mode) :
npm run dev
- Run tests :
npm test