Generated by OSS Project Generator.
webpack library.
Install package
$ npm install --save webpack-library
Say It works!
const lib = require('webpack-library');
console.log(lib.hello());
- Cloning the repo
$ git clone https://github.com/robertoachar/webpack-library.git
- Installing dependencies
$ npm install
- Running scripts
Action | Usage |
---|---|
Start development mode | npm start |
Lint code | npm run lint |
Run unit tests | npm run jest |
Run code coverage | npm run coverage |
Run lint + tests | npm test |
Send coverage results to Coveralls.io | npm run coveralls |
Build to publish | npm run build |