- node.js 10.0+
- npm 10.0+
NOTE: we recommend using nvm
brew install nvm
The following outlines the commands for common development tasks.
To setup the project for development run the below commands. After these have been run you will be able to use the project else where, run tests, etc.
git clone https://github.com/brianneisler/moltres.git
cd moltres
nvm install
nvm use
npm run setup
To build the project
npm run build
To build on every file change
npm run watch
To clean and remove all built files
npm run clean
To clean AND wipe out all installed modules as well as package-lock.json
files, use the cleanse
script.
To cleanse the project
npm run cleanse
Run tests for the project
npm test
Run lint for the project
npm run lint
Run docs generation for the project
npm run docs:gen