# utilifire

> CLI to generate a boilerplate for libraries as npm packages

Latest version **1.1.3** (published 2018-12-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install utilifire
pnpm add utilifire
yarn add utilifire
bun add utilifire
```

Provides the command `utilifire`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.3 |
| Published | 2018-12-19 |
| First published | 2018-09-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8 |
| Dependencies | 14 |
| Unpacked size | 579.2 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Maximilien Garenne |
| Maintainers | hyphaene |
| Keywords | library, cli, component, rollup, babel, publish |

## Links

- npm: https://www.npmjs.com/package/utilifire
- npm.io page: https://npm.io/package/utilifire

## Dependencies (14)

- [ora](https://npm.io/package/ora.md) ^2.0.0
- [meow](https://npm.io/package/meow.md) ^4.0.0
- [execa](https://npm.io/package/execa.md) ^0.9.0
- [globby](https://npm.io/package/globby.md) ^8.0.1
- [cp-file](https://npm.io/package/cp-file.md) ^5.0.0
- [inquirer](https://npm.io/package/inquirer.md) ^3
- [make-dir](https://npm.io/package/make-dir.md) ^1.2.0
- [npm-name](https://npm.io/package/npm-name.md) ^3.2.0
- [handlebars](https://npm.io/package/handlebars.md) ^4.0.11
- [p-each-series](https://npm.io/package/p-each-series.md) ^1.0.0
- [util.promisify](https://npm.io/package/util.promisify.md) ^1.0.0
- [git-config-path](https://npm.io/package/git-config-path.md) ^1.0.1
- [parse-git-config](https://npm.io/package/parse-git-config.md) ^2.0.0
- [validate-npm-package-name](https://npm.io/package/validate-npm-package-name.md) ^3.0.0

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.1.3 (latest) — 2018-12-19
- 1.1.2 — 2018-12-19
- 1.1.1 — 2018-12-19
- 1.1.0 — 2018-12-19
- 1.0.2 — 2018-11-15
- 1.0.0 — 2018-11-15
- 0.5.1 — 2018-10-19
- 0.5.0 — 2018-10-12
- 0.4.3 — 2018-10-12
- 0.4.2 — 2018-10-12
- 0.4.1 — 2018-10-12
- 0.4.0 — 2018-10-12
- 0.3.2 — 2018-10-12
- 0.3.1 — 2018-10-12
- 0.3.0 — 2018-10-12
- … 8 more at https://npm.io/package/utilifire/versions

## README

# utilifire

> CLI for easily publishing modern React libraries with Rollup and example usage via create-react-app.

## Intro

**The purpose of this CLI is to make publishing our own libraries as easy as possible.**

## Features

*   Easy-to-use CLI
*   Handles all modern JS features
*   [Rollup](https://rollupjs.org/) for build process
*   [Babel](https://babeljs.io/) for transpilation

## Prerequisite :

*   use yarn

## Install

```bash
yarn global add utilifire
```

ou

```
npm install -g utilifire
```

## Creating a New Package

```bash
utilifire
```

Answer some basic prompts about your module, and then the CLI will perform the following steps:

*   copy over the template to a new folder in the current directory
*   install dependencies via yarn
*   link packages together for local development
*   initialize local git repo

At this point, the new module is all setup for local development.

## Development


You'll run rollup to watch your `src/` module and automatically recompile it into `dist/` whenever you make changes.

```bash
yarn start # runs rollup with watch flag
```


## Advices

Please consider declaring your dependencies as external in order to reduce the build size after using the CLI to generate a folder.
( See ```rollup/constants.js``` file)


## Roadmap

- [ ] add git repo url ( and perform validations ( if not, prompt 'are you sure ? '))
- [ ] be able to parse a ~/.conf to override the default values for utilifire ( whivch are ?)


## License

MIT © [Maximilien Garenne](https://github.com/hyphaene)

---
_Source: https://npm.io/package/utilifire · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
