Skip to content

freekmurze/generator-module-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

generator-module-boilerplate

npm version dependencies Status

this generator generates an npm module (UMD, CJS, ES6) boilerplate

this boilerplate

  • is optimized for Webpack 2, Rollup bundling (module, jsnext:main)
  • creates an UMD build in the /dist folder (for use in a browser and/or via the https://unpkg.com CDN)

Getting Started

Install Yo

yarn global add yo

Install generator-module-boilerplate

yarn global add generator-module-boilerplate

Usage

Initiate the generator:

yo module-boilerplate

NPM scripts

npm run build
  • build:(es|cjs|umd|umd:min)
npm run test
npm run lint

License

MIT

About

npm module (UMD, CJS, ES6) boilerplate generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published