Giter VIP home page Giter VIP logo

html5-boilerplate's Introduction

html5-boilerplate

Gulp/Bower boilerplates for html5 applications. Requires node.js installed.

Options available

There are a few branches to this project corresponding to multiple configurations for your application.

  • master only brings bower, a sass compiler, and starts you off with normalize.css
  • coffee brings everything from master, plus the ability to compile javascript and coffeescript
  • backbone brings everything from coffee, includes Backbone and jQuery to bower.json
  • bourbon/neat brings everythign from coffee, but also includes bourbon and neat in your css pipeline
  • backbone-bourbon/neat merges backbone and bourbon/neat

Developping with html5-boilerplate

Setting up your tools

$ git clone https://github.com/Plaristote/html5-boilerplate.git my-html5-application
$ cd my-html5-application
$ rm -Rf .git # you'll probably want to make your own repository
$ npm install

Developping

Gulp will compile your scss and javascript/coffee files as you code. Make sure to always have a gulp process running while you code:

$ gulp

If you made changes while gulp wasn't running, use the recompile task.

$ gulp recompile

Testing

The coffee and bourbon/neat branches come with a testing environment, using jasmine and phantomjs. You may write your unit tests in javascript or coffeescript in the spec/src directory.

In order to run your specs, go to the spec directory and run the gulp tests command. You may also simply launch the default task, and your tests will run whenever a change in the application source or in your tests is detected.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.