This is a setup for the CLI tool. If you're looking for setting up the base template, please refer to the template's SETUP.md
.
- Run
npm i --force
to install dependencies.- You don't have to
--force
install, but the template needs it so better to add it in practice.
- You don't have to
- NPM Scripts
start
: Start in production mode.pretty
: Runprettier
across the entire CLI tool and template code.build
: Usetsup
to roll up the entire CLI tool into one file and build. Handy later when this project is rewritten in TypeScript.release
: Runbuild
and release package on NPM.update
: Run allupdate:*
commands.update:template
: Update template'spackage.json
.update:base
: Update CLI tool'spackage.json
.