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 dependenciesnpm install --global husky
: (globally) Installs husky, which provides git hookshusky install
: Sets up the git precommit hook that will run ESLint and Prettier on changed files.npm run prebuild
: Triggers theprebuild
run script
In other words, this does everything needed to kickstart your Morio development.