Skip to content

Quadrabee/skeleton-nodejs-babel-mocha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Skeleton

This is a skeleton of a nodejs project with:

  • Babel 7.x
  • Mocha 8.x
  • Chai 4.x
  • Eslint (with enspirit's config)

Commands

Run the app:

Command: npm start

Run the tests:

Command: npm test

Run the tests (+ watch for file changes & rerun):

Command: npm run test:watch

A report will be generated in tests/test-results.xml. This file is compatible with jenkins' junit plugin.

Run the tests (+ output coverage report):

Command: npm run test:coverage

The coverage report will be generated in the folder coverage/.

Run the linter:

Command: npm run lint

Run the linter (and fix errors):

Command: npm run lint:fix

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published