A Node.js project template with babel, flowtype and rollup.
$ git clone https://github.com/motianjun4/nodejs-template.git myproject
$ cd myproject
$ npm i
$ npm run start
Run src/index.js
with babel-node
$ npm run start
.vscode/launch.json
is included. Hit F5
to start debugging.
Compile to generate ES5 compatible commonJS module.
$ make install && make build