GithubHelp home page GithubHelp logo

joneit / hypergrid-template Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 144 KB

General purpose JavaScript template with jshint, prettify, watchify, browserify. With simple hypergrid-in-browser example.

License: MIT License

HTML 2.55% JavaScript 95.67% CSS 1.77%

hypergrid-template's Introduction

#Server with browser Sync

##Intallation

$ npm install

##Workflow

###Develop Develop JavaScript in ./src/js/**/*.js and HTML in ./build/**/index.html. Your HTML file should contain a single script include:

<script src="out.js"></script>

###Start 'er up From your project folder:

$ gulp

Gulp performs the following tasks:

  1. Sets up watchify (see below)
  2. Copies src/css/ to build/.
  3. Runs browserify: Bundles up all your JavaScript files into ./build/out.js
  4. Starts browser-sync in server mode using port 5000
  5. Automatically opens a browser window and points it to http://localhost:5000

###Iterate Continue your development...

Watchify watches your src/js/**/*.js files and whenever you save, it runs the following:

  1. Runs jshint: Checks your JavaScript syntax
  2. Runs prettify: Normalizes your syntax (modifies your files)
  3. Runs browserify: (see above)

(At present, uglify and mocha are not being run.)

hypergrid-template's People

Watchers

 avatar  avatar

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.