Skip to content

A boilerplate for writing ES6+ apps for the browser, today.

Notifications You must be signed in to change notification settings

cecchi/es6-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

es6-boilerplate

A boilerplate for writing ES6+ apps for the browser, today.

Installation

JSPM is a modern package manager built on top of SystemJS, with the browser in mind. Packages can be installed from Github or NPM, and ES6 packages are transpiled to ES5 with Babel. Packages installed via JSPM can be imported into the app code using the ES6 import statement. To get started, install some development dependencies, as well as a handful of useful browser packages (including React, for example):

$ npm install -g jspm broccoli-cli
$ npm install
$ jspm install

Configuration

Configuration files live in the configs directory. Currently, there are configs for SystemJS, ESLint, and BrowserSync. See the documentation for each of those for specifics on configuration options. Note: BrowserSync is currently disabled by default.

Development

Broccoli provides a very fast asset pipeline, with incremental builds. When developing, start the Broccoli server:

$ broccoli serve

Broccoli will watch your source files for changes, and intelligently rebuild only the necessary parts. By default, the server can be accessed at port 4200 of your localhost.

About

A boilerplate for writing ES6+ apps for the browser, today.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published