Includes:
Node.js 4.0.0 or higher is required for this boilerplate to run.
git clone git@github.com:evenfrost/esnext.git
cd esnext
npm run init
npm start # or npm run dev
While in development mode, on server unstable V8 ES.next features are transpiled at runtime with babel-node
, while stable (e.g. generators) are handled by Node.js itself.
On client everything is managed by jspm. (See jspm wiki.)
npm run build
npm run prod
All processed files are placed in build
folder, preserving the abovementioned stable/unstable logic, with client scripts and styles bundled respectively in separate files.