aboutsummaryrefslogtreecommitdiff
path: root/node_modules/gulp-debug
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-03-27 21:01:33 +0100
committerFlorian Dold <florian.dold@gmail.com>2019-03-27 21:01:33 +0100
commitcc97a4dd2a967e1c2273bd5f4c5f49a5bf2e2585 (patch)
tree92c5d88706a6ffc654d1b133618d357890e7096b /node_modules/gulp-debug
parent3771b4d6b67b34c130f3a9a1a15f42deefdb2eda (diff)
remove node_modules
Diffstat (limited to 'node_modules/gulp-debug')
-rw-r--r--node_modules/gulp-debug/index.js51
-rw-r--r--node_modules/gulp-debug/license9
-rw-r--r--node_modules/gulp-debug/package.json52
-rw-r--r--node_modules/gulp-debug/readme.md63
4 files changed, 0 insertions, 175 deletions
diff --git a/node_modules/gulp-debug/index.js b/node_modules/gulp-debug/index.js
deleted file mode 100644
index 1a6c70fe0..000000000
--- a/node_modules/gulp-debug/index.js
+++ /dev/null
@@ -1,51 +0,0 @@
-'use strict';
-const path = require('path');
-const fancyLog = require('fancy-log');
-const through = require('through2');
-const tildify = require('tildify');
-const stringifyObject = require('stringify-object');
-const chalk = require('chalk');
-const plur = require('plur');
-
-const prop = chalk.blue;
-
-module.exports = options => {
- options = Object.assign({
- title: 'gulp-debug:',
- minimal: true,
- showFiles: true
- }, options);
-
- if (process.argv.indexOf('--verbose') !== -1) {
- options.verbose = true;
- options.minimal = false;
- options.showFiles = true;
- }
-
- let count = 0;
-
- return through.obj((file, enc, cb) => {
- if (options.showFiles) {
- const full =
- '\n' +
- (file.cwd ? 'cwd: ' + prop(tildify(file.cwd)) : '') +
- (file.base ? '\nbase: ' + prop(tildify(file.base)) : '') +
- (file.path ? '\npath: ' + prop(tildify(file.path)) : '') +
- (file.stat && options.verbose ? '\nstat: ' + prop(stringifyObject(file.stat, {indent: ' '}).replace(/[{}]/g, '').trim()) : '') +
- '\n';
-
- const output = options.minimal ? prop(path.relative(process.cwd(), file.path)) : full;
-
- module.exports._log(options.title + ' ' + output);
- }
-
- count++;
- cb(null, file);
- }, cb => {
- module.exports._log(options.title + ' ' + chalk.green(count + ' ' + plur('item', count)));
- cb();
- });
-};
-
-// Internal: Log function used by gulp-debug exposed for testing
-module.exports._log = fancyLog;
diff --git a/node_modules/gulp-debug/license b/node_modules/gulp-debug/license
deleted file mode 100644
index e7af2f771..000000000
--- a/node_modules/gulp-debug/license
+++ /dev/null
@@ -1,9 +0,0 @@
-MIT License
-
-Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/node_modules/gulp-debug/package.json b/node_modules/gulp-debug/package.json
deleted file mode 100644
index 78ecf3f9e..000000000
--- a/node_modules/gulp-debug/package.json
+++ /dev/null
@@ -1,52 +0,0 @@
-{
- "name": "gulp-debug",
- "version": "3.2.0",
- "description": "Debug Vinyl file streams to see what files are run through your Gulp pipeline",
- "license": "MIT",
- "repository": "sindresorhus/gulp-debug",
- "author": {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- "engines": {
- "node": ">=4"
- },
- "scripts": {
- "test": "xo && ava"
- },
- "files": [
- "index.js"
- ],
- "keywords": [
- "gulpplugin",
- "debug",
- "debugging",
- "inspect",
- "log",
- "logger",
- "vinyl",
- "file",
- "fs"
- ],
- "dependencies": {
- "chalk": "^2.3.0",
- "fancy-log": "^1.3.2",
- "plur": "^2.0.0",
- "stringify-object": "^3.0.0",
- "through2": "^2.0.0",
- "tildify": "^1.1.2"
- },
- "devDependencies": {
- "ava": "*",
- "gulp": "^3.8.10",
- "p-event": "^1.0.0",
- "sinon": "^4.1.3",
- "strip-ansi": "^4.0.0",
- "vinyl": "^2.1.0",
- "xo": "*"
- },
- "ava": {
- "serial": true
- }
-}
diff --git a/node_modules/gulp-debug/readme.md b/node_modules/gulp-debug/readme.md
deleted file mode 100644
index 0c7dbab44..000000000
--- a/node_modules/gulp-debug/readme.md
+++ /dev/null
@@ -1,63 +0,0 @@
-# gulp-debug [![Build Status](https://travis-ci.org/sindresorhus/gulp-debug.svg?branch=master)](https://travis-ci.org/sindresorhus/gulp-debug)
-
-> Debug [Vinyl](https://github.com/gulpjs/vinyl) file streams to see what files are run through your Gulp pipeline
-
-<img src="screenshot.png" width="415">
-
-
-## Install
-
-```
-$ npm install --save-dev gulp-debug
-```
-
-
-## Usage
-
-```js
-const gulp = require('gulp');
-const debug = require('gulp-debug');
-
-gulp.task('default', () =>
- gulp.src('foo.js')
- .pipe(debug({title: 'unicorn:'}))
- .pipe(gulp.dest('dist'))
-);
-```
-
-
-## API
-
-### debug([options])
-
-#### options
-
-Type: `Object`
-
-##### title
-
-Type: `string`<br>
-Default: `gulp-debug:`
-
-Give it a custom title so it's possible to distinguish the output of multiple instances logging at once.
-
-##### minimal
-
-Type: `boolean`<br>
-Default: `true`
-
-By default only relative paths are shown. Turn off minimal mode to also show `cwd`, `base`, `path`.
-
-The [`stat` property](http://nodejs.org/api/fs.html#fs_class_fs_stats) will be shown when you run gulp in verbose mode: `gulp --verbose`.
-
-##### showFiles
-
-Type: `boolean`<br>
-Default: `true`
-
-Setting this to false will skip printing the file names and only show the file count.
-
-
-## License
-
-MIT © [Sindre Sorhus](https://sindresorhus.com)