Skip to content
A seed start to a gulp project supporting SASS/SCSS compilation, linting, embedding angular directives, javascript minification, bundling, and launching servers and proxies right out of the box.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
gulpfile.js
logo.png
package.json

README.md

angularjs-gulp-npm-seed

Index

About

A seed start to a gulp project supporting SASS/SCSS compilation, linting, embedding angular directives, javascript minification, bundling, and launching servers and proxies right out of the box.

Setup

  • Copy gulpfile.js into project root. **Replace [DIRECTIVE] with the name of each angular directive **Replace [TEMPLATE] to the desired output file name

  • Install npm dependencies (Check out package.json for an example)

npm install @babel/core gulp babelify browserify browser-sync vinyl-buffer gulp-concat gulp-angular-embed-templates gulp-jshint gulp-rename browserify-resolutions run-sequence gulp-sass vinyl-source-stream gulp-sourcemaps gulp-uglify --save-dev
  • Build the project.
gulp build

Example

Checkout https://github.com/jrquick17/angualrjs-gulp-npm-seed for a working project using this repo.

Documentation

build & watch

Build the project anytime there is a change.

gulp

build & watch & launch server

Build the project anytime there is a change and run on a server.

gulp serve

build & watch & launch proxy server

Build the project anytime there is a change and run on a proxy server.

gulp proxy
You can’t perform that action at this time.