0.17.1 • Published 5 years ago

basebuild-angular v0.17.1

Weekly downloads
30
License
MIT
Repository
github
Last release
5 years ago

Documentation, Announcements and support here.

  ____                 _           _ _     _         _                      _            
 | __ )  __ _ ___  ___| |__  _   _(_) | __| |       / \   _ __   __ _ _   _| | __ _ _ __ 
 |  _ \ / _` / __|/ _ \ '_ \| | | | | |/ _` |_____ / _ \ | '_ \ / _` | | | | |/ _` | '__|
 | |_) | (_| \__ \  __/ |_) | |_| | | | (_| |_____/ ___ \| | | | (_| | |_| | | (_| | |   
 |____/ \__,_|___/\___|_.__/ \__,_|_|_|\__,_|    /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|   
                                                                |___/                    

Build tool for AngularJS projects. Gulp scripts as a component! \o/

basebuild npm version npm downloads npm downloads

Description

Build tool for AngularJS projects as a node module to be reusable and able to update. Write once, use everywhere! ;)

Installation

[sudo] npm install basebuild-angular --save

Usage

In your gulpfile you can declare the options which you want to use or modify in basesebuild. To start you only need to require basebuild-angular passing the options as parameter.

Gulpfile

// Basic options
// =========================
var options = {
  mainAngularModule : 'BaseBuildSample'
};


// Base build modules
// ==========================
options.modulesData = {
  proxy: {
    target: 'http://docker:49000'
  }
}

// Init basebuild
// ==========================
require('basebuild-angular')(options);

Use Gulp tasks

  • gulp or gulp build to build an optimized version of your application in dist directory
  • gulp serve or gulp dev to launch a browser sync server on your source files
  • gulp serve:dist to launch a server on your optimized application
  • gulp test to launch your unit tests with Karma
  • gulp test:auto to launch your unit tests with Karma in watch mode
  • gulp protractor to launch your e2e tests with Protractor
  • gulp protractor:dist to launch your e2e tests with Protractor on the dist files

Features included in the gulpfile

  • useref : allow configuration of your files in comments of your HTML file
  • ngAnnotate : convert simple injection to complete syntax to be minification proof
  • uglify : optimize all your JavaScript
  • csso : optimize all your CSS
  • rev : add a hash in the file names to prevent browser cache problems
  • watch : watch your source files and recompile them automatically
  • Unit test (karma) : out of the box unit test configuration with karma
  • e2e test (protractor) : out of the box e2e test configuration with protractor
  • browser sync : full-featured development web server with livereload and devices sync
  • angular-templatecache : all HTML partials will be converted to JS to be bundled in the application

Built-in Supported Technologies and Features

  • Gulp
  • Bower
  • BrowserSync
  • Proxies
  • Javascript
  • CoffeeScript
  • CJSX
  • AngularJs
  • SASS
  • Sonar

Stats

NPM NPM

Credit

Based on gulp-angular yeoman generator with my improvements.

0.17.1

5 years ago

0.16.9

5 years ago

0.18.0

6 years ago

0.17.0

6 years ago

0.16.1

6 years ago

0.16.0

7 years ago

0.15.2

7 years ago

0.15.1

8 years ago

0.15.0

8 years ago

0.14.3

8 years ago

0.14.2

8 years ago

0.14.1

8 years ago

0.14.0

8 years ago

0.13.9

8 years ago

0.13.8

8 years ago

0.13.7

8 years ago

0.13.6

8 years ago

0.13.5

8 years ago

0.13.4

8 years ago

0.13.3

8 years ago

0.13.2

8 years ago

0.13.1

8 years ago

0.13.0

8 years ago

0.12.3

8 years ago

0.12.2

8 years ago

0.12.1

8 years ago

0.12.0

8 years ago

0.11.5

8 years ago

0.11.0

8 years ago

0.10.1

8 years ago

0.10.0

8 years ago

0.9.4

8 years ago

0.9.3

8 years ago

0.9.2

9 years ago

0.9.1

9 years ago

0.9.0

9 years ago

0.8.2

9 years ago

0.8.1

9 years ago

0.8.0

9 years ago

0.7.7

9 years ago

0.7.6

9 years ago

0.7.5

9 years ago

0.7.4

9 years ago

0.7.3

9 years ago

0.7.2

9 years ago

0.7.1

9 years ago

0.7.0

9 years ago

0.6.5

9 years ago

0.6.4

9 years ago

0.6.3

9 years ago

0.6.2

9 years ago

0.6.1

9 years ago

0.6.0

9 years ago

0.5.2

9 years ago

0.5.1

9 years ago

0.5.0

9 years ago

0.4.4

9 years ago

0.4.3

9 years ago

0.4.2

9 years ago

0.4.1

9 years ago

0.4.0

9 years ago

0.3.5

9 years ago

0.3.4

9 years ago

0.3.1

9 years ago

0.3.0

9 years ago

0.2.0

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago