https://github.com/diogomoretti/javali
🐗 Create a modern JavaScript library that uses ES6 + Jest
https://github.com/diogomoretti/javali
cli es6 javascript javascript-library jest
Last synced: 6 days ago
JSON representation
🐗 Create a modern JavaScript library that uses ES6 + Jest
- Host: GitHub
- URL: https://github.com/diogomoretti/javali
- Owner: diogomoretti
- License: mit
- Created: 2019-03-23T19:42:06.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-10-12T16:27:40.000Z (over 1 year ago)
- Last Synced: 2025-04-18T15:18:15.829Z (25 days ago)
- Topics: cli, es6, javascript, javascript-library, jest
- Language: JavaScript
- Homepage: https://javali.js.org
- Size: 922 KB
- Stars: 140
- Watchers: 1
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
![]()
⁓ javali.js.org ⁓
## 🐗 About
**[Javali](https://javali.js.org/)** (aka **JAVA***Script* **LI***brary*) is a CLI like [Create React App](https://github.com/facebook/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](https://jestjs.io/)** for tests
- **[Rollup](https://rollupjs.org)** as bundler
- **[Live Server](https://github.com/tapio/live-server)** to run locally
## 🐗 Get started
### Using `npx`
**1** ⁓ Install and create your library immediately:
```shell
npx javali my-lib
```**2** ⁓ Enjoy!
### Using global cli
**1** ⁓ Install **[Javali](https://javali.js.org/)** globally:
```shell
yarn global add javalior
npm install -g javali
```**2** ⁓ Create your library:
```shell
javali my-lib
```Or using TypeScript:
```shell
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](./license.md) © [Diogo Moretti](https://github.com/diogomoretti)