Skip to main content

kickstart

The kickstart installs NodeJS dependencies, and sets up the .
It is typically the first thing you run after cloning the repository.

Run npm run kickstart in the root to trigger this script.

Under the hood, this will run:

Terminal
npm install && \
npm install --global husky && \
husky install && \
npm run prebuild

As you can see, it does a bit more than installing dependencies:

  • npm install: Installs dependencies
  • npm install --global husky: (globally) Installs husky, which provides git hooks
  • husky install: Sets up the git precommit hook that will run ESLint and Prettier on changed files.
  • npm run prebuild: Triggers the prebuild run script

In other words, this does everything needed to kickstart your Morio development.