Webpack Babel Karma Jasmine Starter
A simple Webpack 4 boilerplate for building client-based libraries.
Features
Getting started
- Run
yarn install
to get the project's dependencies - Open
webpack.config.js
and change theoutput.library
property to the name of your library - Run
yarn start
to start developing
Scripts
-
yarn start
- produces a non-minified dev version of your library and runs a watcher for the webpack config and for the library -
yarn build
- produces both a non-minified and a minified production versions of your library -
yarn test
- runs tests and generates a coverage report under thecoverage
folder -
yarn test:watch
- runs tests in the watch mode