1.0.12 • Published 8 years ago

gulp-compile-dependencies v1.0.12

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
8 years ago

NPM version

A gulp task for compiling a package which has local dependencies installed via jspm-local.

Together with gulp-jspm-local this can be used to compile the current package and all dependencies.

It runs 'npm install' and, when needed 'jspm install' and 'gulp build' on each dependency.

Installation

Install gulp-compile-dependencies using npm into your local repository.

npm install gulp-compile-dependencies --save-dev

Usage

Setup a gulp task compile-dependencies using this code:

'use strict'

let gulp = require('gulp');
let dependencies = require('gulp-compile-dependencies')
let tools = require('gulp-jspm-local');
let runSequence = require('run-sequence');

var options = {
	npmInstall: true,
	jspmInstall: true,
	gulpBuild: true
}

gulp.task('compile-solution', () =>
	dependencies.buildDependencies(options)
		.then(() => tools.updateLocalDependencies())
		.then(() => dependencies.executeJspm())
		.then(() => runSequence("export")));

Options

  • npmInstall : boolean = true

    	Executes npm install on all dependencies. 
  • jspmInstall : boolean = true

    	Executes jspm install on all dependencies.
  • gulpBuild : boolean = true

    	Executes gulp build on all dependencies.

License

Apache 2.0

1.0.12

8 years ago

1.0.11

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago