javali
javali copied to clipboard
🐗 Create a modern JavaScript library that uses ES6 + Jest
⁓ 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
- Supports Typescript
- 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
Or using TypeScript:
javali my-lib --typescript
3 ⁓ Enjoy!
✅ A folder and library called my-lib
will be created in this case.
🐗 Contributing
- Fork this repository
-
git checkout -b my-feature
-
git add --all
-
git commit -m "My commit message about my-feature"
-
git push origin my-feature
- Open a Pull Request =]
🐗 License
MIT © Diogo Moretti