Just change the name of the library in the package.json. That's it. The package name variable will be the entry point for the library in browser case. You can change this behaviour here tools/webpack.config.base.js the library field. Develop and enjoy.
- webpack for bundling, exporting in UMD (with the name of the package in browser case), support for process.env in source code
- babel, of course
- eslint (airbnb + valid-jsdoc)
- jasmine for test with mocha reporter
- documentation automagically generated
- git clone && rm .git && git init
- npm run build // generate dist/<package.name>.js, dist/<package.name>.min.js, dist/<package.name>.min.js.map
- npm run test
- npm run test:watch // run tests while typing
- npm run documentation // generate docs folder with .html, append docs to the readme.md
- npm version patch|minor|major This will generate the docs/ and dist/ so you can have the build version committed for that tag