- Using externals to for node libraries
- Using babel to use ES6/ES7
- Use of ES7 async/await
- Converting nodebacks to promises
Assuming you're using nvm...We built this with node 5.0.
nvm use
npm i
This copies puts the files in /lib
scripts/build
scripts/lint
node lib/example1/example1.js
Prints directory contents
node lib/example2/example2.js
Or your home directory
node lib/example2/example2.js ~
npm i -g node-inspector
npm i -g babel-node-debug
Then to run the example with the debugger:
node-debug dist/example1-bundle.js
npm run watch
node dist/example1.bundle.js
Prints directory contents
node dist/example2.bundle.js
node dist/example2.bundle.js ~