Skip to content

This repository contains basic scaffolding for an ES6 capable JavaScript project with JSX support and live reloading of JavaScript assets.

Notifications You must be signed in to change notification settings

wikiwong/js-scaffold

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#JS Starter

This project provides a good starting point for a JS project built with gulp.

###Get started

  1. Install Node
  2. $ git clone https://github.com/wikiwong/js-scaffold
  3. $ npm install
  4. $ gulp

###Features

###Preconfigured Gulp Tasks

  • clean - deletes the /build folder and all files within it.
  • html - copies all .html files from /src to /build.
  • lint - runs eslint for all .js and .jsx files and displays results to stdout.
  • serve - starts a development server at http://localhost.espn.go.com:3000 using /build as the root file path.
  • watch - [clean, html] + builds a development js bundle in the /build folder and begins watching for changes, automatically rebuilding the bundle when necessary.
  • build - [clean] + builds a production ready uglified js bundle.
  • default - [watch + serve]

###Eslint eslint rules are defined in .eslintrc and are a fork of Airbnb's, with modifications to support jsx validation.

About

This repository contains basic scaffolding for an ES6 capable JavaScript project with JSX support and live reloading of JavaScript assets.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published