GitXplorerGitXplorer
j

angularjs-gulp-example

public
142 stars
81 forks
2 issues

Commits

List of commits on branch master.
Unverified
b2b75f12c760808259cfa8708507b0abacf912a7

URL fix

ssebeichholz committed 10 years ago
Unverified
992a4bc0e3b9edea1db2e1060ea924ff6efe4e09

fixed autofocus issue

committed 10 years ago
Unverified
5a4811e44f37ef6f2cc92de5fcb7e946fab50656

Update readme.md

jjhades committed 10 years ago
Unverified
df1712955d252223b2739a582fe37584342d4f57

Update readme.md

jjhades committed 10 years ago
Unverified
63e69737d5fe4956ff476b76f63fead518ceab19

setting up a demo jsfiddle

committed 10 years ago
Unverified
8924a168c4ca27f6981acee32853c83391c70160

setting up a demo jsfiddle

committed 10 years ago

README

The README file for this repository.

Angular Gulp baseline build

This repository contains a baseline Gulp build for AngularJs development, applied to a sample test app.

The build is as simple as possible (less than 100 lines excluding comments), but still includes all the features that an AngularJs project will most likelly need:

  • integration with bower - to ensure all the latest dependencies are present
  • Sass (with source maps) - for building more maintainable stylesheets. The plugin used uses libsass and does not introduce a dependency in the Ruby tool chain
  • unit testing / integration testing with Karma, Jasmine and PhantomJs
  • cache busting - to prevent cache problems in all environments, dev tools opened or closed, etc.
  • template cache pre-population - to prevent that each template causes one extra HTTP request
  • jshint - the de-facto Javascript code quality checker
  • concatenation
  • browserify integration - for using the CommonJs require('module') synchronous import syntax and avoid maintaining config files with dependencies
  • Javascript source maps
  • Angular-friendly Javascript minification
  • sprite generation
  • a development web server with live reload, that re-loads the initial page of the project

A blog post concerning this build is available here

Installation instructions

First make sure Gulp is globally installed, by running:

npm install -g gulp

After cloning the project, run the following commands:

npm install
gulp
gulp dev

This will start the development server, the TODO sample app should be available at the following url:

http://localhost:8000/dist/index.html