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

https://github.com/junaedsiam/libia

A CLI tool to scaffold your next frontend library
https://github.com/junaedsiam/libia

boilerplate cli generator javascript library react scaffolding starter svelte typescript vue

Last synced: 9 months ago
JSON representation

A CLI tool to scaffold your next frontend library

Awesome Lists containing this project

README

          


Libia

A CLI tool to scaffold your next frontend library

### Libia

Libia is a CLI tool to scaffold your next frontend library template. It provides library specific configurations along with starter files.

**Supported platforms**

- Vanilla JS / TS
- React (JS / TS)
- Vue (JS / TS)
- Svelte (JS / TS)

### Getting started

To initialize the CLI -

**pnpm**

```bash
# pnpm
pnpm dlx libia init .
# or
pnpm dlx libia init lib-name

```

You can use other package managers as well

```bash
# npm
npx libia init lib-name
# yarn
yarn dlx libia init lib-name
```

#### Example

```bash
pnpm dlx libia init test
---
? Enter your package name: test
? Choose Project framework: React
? Want to use Typescript? yes
? Entry file : src / index.ts
? Want to seperate CSS file from JS? yes
? Choose a package manager: pnpm (recommended)
✔ Preparing template
✔ Initializing git
✔ installing dependencies
┌───────────────┐
│ │
│ All done! │
│ │
└───────────────┘
Head into your package, and build something amazing
```

For bugs and feature requests, create an issue. If you find this tool useful feel free to give it a star on github! Happy coding!