1.1.0 • Published 8 years ago

gulp-npm-script-sync v1.1.0

Weekly downloads
643
License
MIT
Repository
github
Last release
8 years ago

gulp-npm-script-sync Build Status

Syncs all your gulp tasks into the scripts section of your package.json. For instance: gulp watch can be run as npm run watch. npm will use the local gulp inside your node_modules folder, so there is no need to install gulp globally to run the tasks. inspired by this stackoverflow question.

install

npm install --save-dev gulp-npm-script-sync

usage

// gulpfile.js
var gulp = require('gulp');
var sync = require('gulp-npm-script-sync');

// your gulpfile contents

sync(gulp);

Using the configurations:

// gulpfile.js
var gulp = require('gulp');
var sync = require('gulp-npm-script-sync');

// your gulpfile contents

sync(gulp, {
  path: 'path/to/package.json',
  excluded: ['task1', 'task2']
});
1.1.0

8 years ago

1.0.3

8 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago