JavaScript project setup - gringrape/daily-coding-dojo GitHub Wiki

Start project

npm init -y

Test

npm i -D @types/jest jest

package.json

"scripts": {
  "test": "jest",
  "watch": "npm test -- --watchAll" 
}

Lint

npx eslint --init