nodejs-starter-boilerplate
nodejs-starter-boilerplate copied to clipboard
Setup Tooling
Set up the following tooling in the repo
TOOLING
-
eslint
- for linting -
nyc
- for code coverage -
pre-push
- for git pre push hook running tests - ~~winston` - for logging~~
CRITERIA
-
eslint
should have an opinionated format -
nyc
should aim for test coverage of 80% across lines, statements, and branches -
pre-push
should run the tests before allowing pushing using git -
winston
should be used to replace console logs and all errors should be logged as well. Logs should go to disk. - integration to CI such as Travis or Circle
- Add Typescript support