/nodejs-template

A Node.js project template with babel, flowtype and rollup.

Primary LanguageJavaScriptMIT LicenseMIT

Node.js Project Template

A Node.js project template with babel, flowtype and rollup.

Getting Started

$ git clone https://github.com/motianjun4/nodejs-template.git myproject
$ cd myproject
$ npm i
$ npm run start

Running

Run src/index.js with babel-node

$ npm run start

Debugging with VSCode

.vscode/launch.json is included. Hit F5 to start debugging.

Compiling

Compile to generate ES5 compatible commonJS module.

$ make install && make build