Create a modern JavaScript library that uses ES6 + Jest
npx javali my-lib
npx javali my-lib
Javali is a CLI similar to Create React App. With a simple command you can easily generate your JavaScript library. Without questions and complicated settings, you simply pass the name of your project and the magic happens.
The generated library has all the newest features from the front-end development. You write ES6 and your library is compiled to ES5 (UMD and CJS). Besides that, the lib has Jest for tests, Rollup as bundler, Live Server to run locally and much more.
1. Install and create your library immediately:
npx javali my-lib
1. Install Javali globally:
yarn global add javali
or
npm install -g javali
2. Create your library:
javali my-lib