es6-nodejs-setup

1.0.0 • Public • Published

es6-nodejs-project-kickstart

Build Status codecov MIT License

Tools Used

Quick Start

  1. Make sure you have recent, stable version of nodejs in your system. Please check version before run
$  node -v
  1. Clone or download this repository.

  2. Run this following command in your terminal from the project folder

$ npm install

List of Commands/Tasks

Lint

Perform eslint in your project

$ npm run lint

Lint Fix

Most of the errors reported by eslint fixed by using this command

$ npm run lint-fix

Test

This will run all test cases

$ node test 

Generate nyc report -- (optional command)

After testcases passed this will generate nyc report and uploads to codecov

$ node report-coverage 

Build (Transpiled)

This will create '/dist' folder and converts the ES6 code into es5

$ node run build

Start nodejs server

$ node start

Package Sidebar

Install

npm i es6-nodejs-setup

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

14.4 kB

Total Files

26

Last publish

Collaborators

  • srinivaskandukuri