abecodes / node_boilerplate

easy one line setup for a nodejs project with typescript, mocha and nyc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nodejs boilerplate

This boilerplate will help you cutting some time while setting up a new -nodejs- project with -typescript- and -mocha- for testing.

Contents

  • mocha
  • chai
  • nyc (for coverage reports and VS Code TDD plugin)
  • typings for node, mocha and chai

Requirements

Usage

  • clone this repo
  • run make setup
  • customize the package.json
  • change tsconfig to your likings
  • delete the makefile or flesh it out

By default your code will reside in the src folder and the transpiled code will be written to dist. For testing testfiles should be named *.test.ts and live in a /__tests__ folder next to the code they are testing.

Greetings

May you enjoy using this piece of software as much as I enjoyed writing it. Stay bug free and have an awesome day <3

About

easy one line setup for a nodejs project with typescript, mocha and nyc


Languages

Language:Makefile 100.0%