1.1.3 • Published 5 years ago

utilifire v1.1.3

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

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 for build process
  • Babel for transpilation

Prerequisite :

  • use yarn

Install

yarn global add utilifire

ou

npm install -g utilifire

Creating a New Package

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.

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

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.2

5 years ago

1.0.0

5 years ago

0.5.1

5 years ago

0.5.0

5 years ago

0.4.3

5 years ago

0.4.2

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

6 years ago

0.0.1

6 years ago

0.0.0

6 years ago