Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 929 Bytes

README.md

File metadata and controls

28 lines (24 loc) · 929 Bytes

Description

Includes:

Installation and Usage

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.)

Production workflow

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.