Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-compile-dependencies

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-compile-dependencies

Resolves local jspm dependencies and builds them. Will call 'npm install', 'jspm install' and 'gulp build' on each dependency.

  • 1.0.12
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 23 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc