Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

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: 3 months ago
JSON representation

🐗 Create a modern JavaScript library that uses ES6 + Jest

Lists

README

        


Javali


NPM JavaScript Style Guide


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 javali

or

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)