first commit
This commit is contained in:
19
build/node_modules/imagemin-log/LICENSE.md
generated
vendored
Normal file
19
build/node_modules/imagemin-log/LICENSE.md
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
Copyright (c) Kevin Mårtensson
|
||||
|
||||
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.
|
||||
33
build/node_modules/imagemin-log/README.md
generated
vendored
Normal file
33
build/node_modules/imagemin-log/README.md
generated
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
# imagemin-log [](https://travis-ci.org/imagemin/imagemin-log)
|
||||
|
||||
> The log utility used in imagemin related projects
|
||||
|
||||
## Install
|
||||
|
||||
```sh
|
||||
$ npm install --save imagemin-log
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var log = require('imagemin-log');
|
||||
|
||||
log.info('this is a message');
|
||||
log.warn('this is a warning');
|
||||
log.success('this is a success message');
|
||||
log.error(new Error('this is a error').stack);
|
||||
|
||||
/*
|
||||
ℹ this is a message
|
||||
⚠ this is a warning
|
||||
✔ this is a success message
|
||||
✖ Error: this is an error
|
||||
at ChildProcess.exithandler (child_process.js:648:15)
|
||||
at ChildProcess.emit (events.js:98:17)
|
||||
*/
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
MIT © [imagemin](https://github.com/imagemin)
|
||||
44
build/node_modules/imagemin-log/index.js
generated
vendored
Normal file
44
build/node_modules/imagemin-log/index.js
generated
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
'use strict';
|
||||
|
||||
var figures = require('figures');
|
||||
var Squeak = require('squeak');
|
||||
|
||||
/**
|
||||
* Initialize `log`
|
||||
*/
|
||||
|
||||
var log = new Squeak({separator: ' '});
|
||||
|
||||
/**
|
||||
* Add types
|
||||
*/
|
||||
|
||||
log.type('info', {
|
||||
color: 'cyan',
|
||||
prefix: figures.info
|
||||
});
|
||||
|
||||
log.type('warn', {
|
||||
color: 'yellow',
|
||||
prefix: figures.warning
|
||||
});
|
||||
|
||||
log.type('success', {
|
||||
color: 'green',
|
||||
prefix: figures.tick
|
||||
}, function () {
|
||||
log.end();
|
||||
});
|
||||
|
||||
log.type('error', {
|
||||
color: 'red',
|
||||
prefix: figures.cross
|
||||
}, function () {
|
||||
log.end();
|
||||
});
|
||||
|
||||
/**
|
||||
* Module exports
|
||||
*/
|
||||
|
||||
module.exports = log;
|
||||
64
build/node_modules/imagemin-log/package.json
generated
vendored
Normal file
64
build/node_modules/imagemin-log/package.json
generated
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"_from": "imagemin-log@^2.0.0",
|
||||
"_id": "imagemin-log@2.0.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-AHuEGyBIh0RCFMaFtxc5i5zh/pI=",
|
||||
"_location": "/imagemin-log",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "imagemin-log@^2.0.0",
|
||||
"name": "imagemin-log",
|
||||
"escapedName": "imagemin-log",
|
||||
"rawSpec": "^2.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^2.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/pngout-bin"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/imagemin-log/-/imagemin-log-2.0.0.tgz",
|
||||
"_shasum": "007b841b204887444214c685b717398b9ce1fe92",
|
||||
"_spec": "imagemin-log@^2.0.0",
|
||||
"_where": "/Users/asciidisco/Desktop/asciidisco.com/build/node_modules/pngout-bin",
|
||||
"author": {
|
||||
"name": "Kevin Mårtensson",
|
||||
"email": "kevinmartensson@gmail.com",
|
||||
"url": "https://github.com/kevva"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/imagemin/imagemin-log/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {
|
||||
"figures": "^1.3.5",
|
||||
"squeak": "^1.0.0"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "The log utility used in imagemin related projects",
|
||||
"devDependencies": {
|
||||
"ava": "^0.0.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/imagemin/imagemin-log#readme",
|
||||
"keywords": [
|
||||
"imagemin",
|
||||
"log"
|
||||
],
|
||||
"license": "MIT",
|
||||
"name": "imagemin-log",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/imagemin/imagemin-log.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "node test.js"
|
||||
},
|
||||
"version": "2.0.0"
|
||||
}
|
||||
Reference in New Issue
Block a user