webpack-library-template
Scripts
-
npm run build
- produces production version of your library under thedist
folder -
npm run dev
- produces development version of your library and runs a watcher -
npm run test
- runs the tests :) -
npm run test:watch
- same as above but in a watch mode
Example of consuming a library from outside Node: