These scripts are provided for development of clairBuoyant. The script names are standardized across all repositories for clairBuoyant to simplify the development experience.
bootstrap: resolve all system dependencies the application needs to run.clean: remove all unnecessary build artifacts.init: run bootstrap and setup.setup: install node dependencies and githooks.start: start app locally.uninstall: remove node dependencies and build artifacts.
These scripts can be used directly or with npm (recommended).
- Run with npm:
npm run <command_name>(e.g.,npm run init). - Run script directly:
./scripts/<command_name>(e.g.,./scripts/init).- Run
. ./aliasesin your terminal in order to run any script just by<command_name>(e.g.,initorstart). 1
- This script needs to be re-run every time you start a new terminal session. But, it saves you from prepending
npm runevery time! :)
Styled after GitHub's "Scripts to Rule Them All".