Skip to content

pdhung197/es6-modules

 
 

Repository files navigation

ES6 Modules screenshot Webdrivercss screenshot

ES6 Modules

Base project template for ES6 modules including:

  • Server with live reload of static files
  • Compile tasks to run ES6 JavaScript and SASS CSS in the browser
  • Optimise tasks to create concatenated and minified ES5 versions for production environments
  • Test tasks to automate unit tests and functional tests with screenshots and diff
  • Document tasks to automatically create documentation from comments within the code

Installation

Ensure you have Node and NPM installed using the instructions at:

https://nodejs.org/download/

Also the global packages you will need installed:

npm install jspm -g
npm install gulp -g

Then run the following command to install the dependancies:

jspm install
npm install

Usage

After installation has completed you will have access to the following features.

Default

gulp

http://localhost:8080/src/

Compile

gulp compile

Optimise

gulp optimise

http://localhost:8080/www/

Test

gulp test

Document

gulp document
  • gulp-esdoc - Auto-generates js documentation
  • sassdoc - Auto-generates css documentation

http://localhost:8080/docs/

Directory Layout

gulp/                 --> Gulp tasks
wdio.conf.js          --> Test runner configuration
src/                  --> Development code
www/                  --> Production code (after 'gulp optimise' command)

Contact

For more information please contact kmturley

About

Base project template for ES6 modules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 53.3%
  • JavaScript 25.2%
  • CSS 21.5%