Giter Site home page Giter Site logo

bharathkumarms / angular-gulp-boilerplate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from loginov-rocks/angular-gulp-boilerplate

0.0 3.0 0.0 182 KB

Clean Angular 1.5 boilerplate with basic Gulp tasks designed to automate your daily development routine such as templates, scripts and styles concatenation, uglification and minimisation

JavaScript 86.59% CSS 4.17% HTML 9.25%

angular-gulp-boilerplate's Introduction

Angular Gulp Boilerplate

Clean Angular 1.5 boilerplate with basic Gulp tasks designed to automate your daily development routine such as templates, scripts and styles concatenation, uglification and minimisation.

As a result your entire Angular project will be compiled to five files (index.html, app.js and vendor.js, app.css and vendor.css) and source maps if needed.

Teaser

What you will get?

Angular npm Gulp Bower SASS ESLint Browsersync Normalize Autoprefixer UI-Router

Angular 1.5 with UI-Router, automated services injecting by ng-annotate, gathering HTML templates into $templateCache and making source maps for debug.

SASS compiler with Autoprefixer and making source maps for development and production versions, Normalize.css.

ESLint with Angular plugin for code linting.

Bower and Wiredep for automated injecting vendor dependencies.

Browsersync for comfortable development and live reloading.

HTML, JS and CSS concatenation, uglification, minimisation and adding hash like app-442e02212b.js to avoid caching for production version.

Quick start

Dependencies

Boilerplate needs npm and bower to work. For running gulp tasks from command line, install it globally:

$ npm install -g gulp

Install

Clone repository from GitHub:

$ git clone https://github.com/1oginov/Angular-Gulp-Boilerplate.git NewProject

Jump into NewProject directory and install npm dependencies:

$ cd NewProject
$ npm install

Next, install bower dependencies:

$ bower install

And that's it! Now, you can use gulp task to check if everything is awesome:

$ gulp serve

Your default browser will be launched at http://localhost:3000 serving your project.

Gulp tasks

Main tasks

  • gulp default is for production, cleans dist folder and builds your entire project into it;
  • gulp serve is for development, launches your project at http://localhost:3000 and watches for changes in sources.

angular-gulp-boilerplate's People

Contributors

1oginov avatar loginov-rocks avatar nodejose avatar

Watchers

 avatar  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.