Skip to content

NorikDavtian/nodejs-babel-tap

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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