Create a modern JavaScript library that uses ES6 + Jest


Keywords
cli, generator, javascript, library, es6, jest
License
MIT
Install
npm install javali@1.1.0

Documentation

Javali

Travis (.org) NPM JavaScript Style Guide

javali.js.org


🐗 About

Javali (aka JAVAScript LIbrary) is a CLI like Create React App, but for creating JavaScript libraries. Below, some features:

  • Simple command to create a library
  • Fully ES6 that compiles to UMD and CommonJS
  • Jest for tests
  • Rollup as bundler
  • Live Server to run locally

🐗 Get started

Using npx

1 ⁓ Install and create your library immediately:

npx javali my-lib

2 ⁓ Enjoy!

Using global cli

1 ⁓ Install Javali globally:

yarn global add javali

or

npm install -g javali

2 ⁓ Create your library:

javali my-lib

3 ⁓ Enjoy!

A folder and library called my-lib will be created in this case.


🐗 Contributing

  1. Fork this repository
  2. git checkout -b my-feature
  3. git add --all
  4. git commit -m "My commit message about my-feature"
  5. git push origin my-feature
  6. Open a Pull Request =]

🐗 License

MIT © Diogo Moretti