Skip to content

Minimalistic Node.js Boilerplate code with Tap and Babel

License

Notifications You must be signed in to change notification settings

NorikDavtian/nodejs-babel-tap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimalistic ES6+ starter with Babel and Tap for testing

just a simple nodejs boilerplate project starter includes:

  • Babel.js for ES6+ modules
  • Tap for testing
  • ESLint for linting (airbnb rules and precommit hooks)

start/test

Check package.json for full list of run scripts.

Start

npm start

Watch and Restart

npm run watch

Testing

npm test

if you prefer continuous testing while you are coding, just use nodemon.

# npm install -g nodemon
nodemon -x npm test

Test Coverage

Uses codecov to generate a nice code coverage report. http://www.node-tap.org/coverage/

npm run test:coverage

Directory structure

.
├── LICENSE # MIT
├── README.md # You are here
├── lib # put all your code here
│   ├── index.js
│   └── index.test.js # Use <filename>.test.js for tests
└── package.json

About

Minimalistic Node.js Boilerplate code with Tap and Babel

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published