GitXplorerGitXplorer
j

angularjs-gulp-example

public
142 stars
81 forks
2 issues

Commits

List of commits on branch master.
Unverified
b4c9dad66ccb234fbee4a8329fc56874f66e7bce

Update readme.md

jjhades committed 9 years ago
Unverified
8e8a2f0e52972d41d97b67b906a042ab064b4a7b

upgrades gulp-sass - closes #3

jjhades committed 9 years ago
Unverified
d5315cb2fc319a7b5f086f6dcf9f2ff222549a07

Upgraded to node 4 - fixes #3

iinvalid-email-address committed 9 years ago
Unverified
7dc17fc6b0a08a1494088f59d8d6b10d28475c97

Update readme.md

jjhades committed 9 years ago
Unverified
d157ea7c238bac3c1da4f9e10ea693d18502f0b7

Update readme.md

jjhades committed 10 years ago
Unverified
5cdb06f41433d816be8148f04451739d4ac3b644

Merge pull request #1 from sebeichholz/patch-1

jjhades 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