Example javascript project
This project uses the TypeScript dialect of JavaScript. It has the following commands:
-
npm install
: install dependencies -
npm run build
: compile the typescript into javascript -
npm run build:release
: compile the typescript into javascript (release build) -
npm run lint
: run static analysis witheslint
-
npm run prettier
: autoformat the code withprettier
-
npm run test
: run the test suite, written usingjest
-
npm run start
: run the compiledmain.js