Minimal starter for Node.js. Configured with Jest, ESLint and Nodemon: Clone. Run. Test. Build.
index.js
"Hello World"src/utils/lLog.js
module example__tests__/lLog.test.js
tests examplenodemon
in case it's not installed globally.eslintrc.js
setup for Airbnb, Jest, importjsconfig.json
Coc, Syntastic, VSCode suggest/auto-complete@types/jest
Coc, ALE, YCM, VSCode suggest/lint/auto-complete
git clone https://github.com/11un/starter-node-jest-eslint.git <dir>
cd <dir>
npm install
npm start
npm test
npm test -- --watchAll
npm test -- --coverage