By Quaranteam-8
- First clone this repository by entering
git clone https://github.com/cse112-sp20/Quaranteam-8.git
into terminal - If you don't have node installed on your computer, install it from https://nodejs.org/en/download/.
- Once you have node installed, go to the root of the repository and run
npm install
Command | Description |
---|---|
npm run build |
Builds the chrome extension using the files in the src/ directory and outputs the files into dist/ directory |
npm run lint |
Runs Eslint on all js files in the src/ and test/ directories |
npm run test |
Runs Jest on all unit test files in the test/unit directory |
npm run test:puppeteer |
Runs Jest on all puppeteer test files in the test/puppeteer directory |
npm run docs:build |
Generates documentation from jsdoc comments and outputs them into the docs/ directory |
npm run all |
Runs all commands above |
npm run clean |
Deletes the dist/ and coverage/ directories if they are found |