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

gulp-cli

Package Overview
Dependencies
Maintainers
3
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-cli - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

CHANGELOG.md

3

index.js

@@ -1,4 +0,3 @@

#!/usr/bin/env node
'use strict';
'use strict';
var fs = require('fs');

@@ -5,0 +4,0 @@ var path = require('path');

@@ -6,12 +6,7 @@ 'use strict';

var log = require('gulplog');
var sortBy = require('lodash.sortby');
var isString = require('lodash.isstring');
var isObject = require('lodash.isplainobject');
function isString(val) {
return typeof val === 'string';
}
function isObject(val) {
return typeof val === 'object' && !Array.isArray(val);
}
function logTasks(tree, depth, getTask) {

@@ -18,0 +13,0 @@ depth = (typeof depth !== 'number') ? null : ((depth < 1) ? 1 : depth);

@@ -18,2 +18,4 @@ 'use strict';

var getTask = require('../^4.0.0/log/getTask');
function execute(opts, env) {

@@ -52,5 +54,3 @@

return logTasks(tree, opts.depth, function(taskname) {
return gulpInst.task(taskname);
});
return logTasks(tree, opts.depth, getTask(gulpInst));
}

@@ -57,0 +57,0 @@ if (opts.tasksJson) {

@@ -18,2 +18,4 @@ 'use strict';

var getTask = require('./log/getTask');
function execute(opts, env) {

@@ -52,5 +54,3 @@

return logTasks(tree, opts.depth, function(taskname) {
return gulpInst.task(taskname);
});
return logTasks(tree, opts.depth, getTask(gulpInst));
}

@@ -57,0 +57,0 @@ if (opts.tasksJson) {

{
"name": "gulp-cli",
"version": "1.2.1",
"version": "1.2.2",
"description": "Command line interface for gulp",

@@ -30,3 +30,4 @@ "author": "Gulp Team <team@gulpjs.com> (http://gulpjs.com/)",

"pretest": "npm run lint",
"test": "lab test/*.js -cv"
"test": "lab test/*.js -cv -I Reflect",
"changelog": "github-changes -o gulpjs -r gulp-cli -b master -f ./CHANGELOG.md --order-semver --use-commit-body"
},

@@ -40,3 +41,6 @@ "dependencies": {

"liftoff": "^2.1.0",
"lodash.sortby": "^4.0.1",
"lodash.isfunction": "^3.0.8",
"lodash.isplainobject": "^4.0.4",
"lodash.isstring": "^4.0.1",
"lodash.sortby": "^4.5.0",
"matchdep": "^1.0.0",

@@ -59,2 +63,3 @@ "mute-stdout": "^1.0.0",

"fs-extra": "^0.26.1",
"github-changes": "^1.0.1",
"gulp": "gulpjs/gulp#4.0",

@@ -61,0 +66,0 @@ "jscs": "^2.3.5",

@@ -57,2 +57,23 @@ <p align="center">

## Completion
> Thanks to the grunt team, specifically Tyler Kellen
To enable tasks auto-completion in shell you should add `eval "$(gulp --completion=shell)"` in your `.shellrc` file.
###### Bash:
Add `eval "$(gulp --completion=bash)"` to `~/.bashrc`.
###### Zsh:
Add `eval "$(gulp --completion=zsh)"` to `~/.zshrc`.
###### Powershell:
Add `Invoke-Expression ((gulp --completion=powershell) -join [System.Environment]::NewLine)` to `$PROFILE`.
###### Fish:
Add `gulp --completion=fish | source` to `~/.config/fish/config.fish`.
## Compilers

@@ -59,0 +80,0 @@

Sorry, the diff of this file is not supported yet

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