first commit
This commit is contained in:
19
build/node_modules/logalot/LICENSE.md
generated
vendored
Normal file
19
build/node_modules/logalot/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/logalot/README.md
generated
vendored
Normal file
33
build/node_modules/logalot/README.md
generated
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
# logalot [](https://travis-ci.org/imagemin/logalot)
|
||||
|
||||
> Tiny log utility
|
||||
|
||||
## Install
|
||||
|
||||
```sh
|
||||
$ npm install --save logalot
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var log = require('logalot');
|
||||
|
||||
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)
|
||||
40
build/node_modules/logalot/index.js
generated
vendored
Normal file
40
build/node_modules/logalot/index.js
generated
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
'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
|
||||
});
|
||||
|
||||
log.type('error', {
|
||||
color: 'red',
|
||||
prefix: figures.cross
|
||||
});
|
||||
|
||||
/**
|
||||
* Module exports
|
||||
*/
|
||||
|
||||
module.exports = log;
|
||||
71
build/node_modules/logalot/package.json
generated
vendored
Normal file
71
build/node_modules/logalot/package.json
generated
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"logalot@2.1.0",
|
||||
"/Users/asciidisco/Desktop/asciidisco.com/build"
|
||||
]
|
||||
],
|
||||
"_from": "logalot@2.1.0",
|
||||
"_id": "logalot@2.1.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-X46MkNME7fElMJUaVVSruMXj9VI=",
|
||||
"_location": "/logalot",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "logalot@2.1.0",
|
||||
"name": "logalot",
|
||||
"escapedName": "logalot",
|
||||
"rawSpec": "2.1.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "2.1.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/jpeg-recompress-bin",
|
||||
"/jpegoptim-bin",
|
||||
"/jpegtran-bin",
|
||||
"/mozjpeg"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/logalot/-/logalot-2.1.0.tgz",
|
||||
"_spec": "2.1.0",
|
||||
"_where": "/Users/asciidisco/Desktop/asciidisco.com/build",
|
||||
"author": {
|
||||
"name": "Kevin Mårtensson",
|
||||
"email": "kevinmartensson@gmail.com",
|
||||
"url": "https://github.com/kevva"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/imagemin/logalot/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"figures": "^1.3.5",
|
||||
"squeak": "^1.0.0"
|
||||
},
|
||||
"description": "Tiny log utility",
|
||||
"devDependencies": {
|
||||
"ava": "^0.0.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/imagemin/logalot#readme",
|
||||
"keywords": [
|
||||
"imagemin",
|
||||
"log",
|
||||
"sqeak"
|
||||
],
|
||||
"license": "MIT",
|
||||
"name": "logalot",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/imagemin/logalot.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "node test.js"
|
||||
},
|
||||
"version": "2.1.0"
|
||||
}
|
||||
Reference in New Issue
Block a user