janlelis / jspm-es6-react-sass-starter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Single Page App Starter Kit with ES6, JSPM, React, and Sass

What?

This is the boilerplate tooling for a new single page web application. It transpiles ES6/ES7-style code to browser compatible JavaScript using Babel. It uses JSPM for frontend dependency management, which supports ES6 modules via System.JS. CSS is generated by the excellent Sass pre-processor. Everything is glued together with npm scripts in package.json.

See below to get started.

Documentation

Frontend

Tooling

Testing

Setup

A) System Requirements

A1) Install NodeJS & NPM

A2) Install JSPM

$ npm install -g jspm

Depending on your specific node setup, this might also require sudo.

A3) Install Ruby & SASS

Sass is written in Ruby, so install Ruby first. It might already be installed.

B) Project Setup

B1) Clone this repository

$ git clone https://github.com/janlelis/jspm-es6-react-sass-starter.git

B2) Install JavaScript Dependencies

$ npm install

This will also trigger jspm install.

5) Start the Local Server & File Watcher

$ npm start

This will start a local webserver on http://127.0.0.1:8000

About

License:MIT License


Languages

Language:JavaScript 98.4%Language:HTML 1.5%Language:CSS 0.2%