Skip to content

πŸ— Create a modern JavaScript library that uses ES6 + Jest

License

Notifications You must be signed in to change notification settings

diogomoretti/javali

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

76 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Javali

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
  • 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

  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