mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-09-13 05:13:33 -06:00
Initial commit
This commit is contained in:
18
node_modules/log-symbols/index.js
generated
vendored
Normal file
18
node_modules/log-symbols/index.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
'use strict';
|
||||
var chalk = require('chalk');
|
||||
|
||||
var main = {
|
||||
info: chalk.blue('ℹ'),
|
||||
success: chalk.green('✔'),
|
||||
warning: chalk.yellow('⚠'),
|
||||
error: chalk.red('✖')
|
||||
};
|
||||
|
||||
var win = {
|
||||
info: chalk.blue('i'),
|
||||
success: chalk.green('√'),
|
||||
warning: chalk.yellow('‼'),
|
||||
error: chalk.red('×')
|
||||
};
|
||||
|
||||
module.exports = process.platform === 'win32' ? win : main;
|
21
node_modules/log-symbols/license
generated
vendored
Normal file
21
node_modules/log-symbols/license
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
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.
|
106
node_modules/log-symbols/package.json
generated
vendored
Normal file
106
node_modules/log-symbols/package.json
generated
vendored
Normal file
@@ -0,0 +1,106 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"log-symbols@^1.0.2",
|
||||
"/Users/pmarsceill/_projects/just-the-docs/node_modules/stylelint"
|
||||
]
|
||||
],
|
||||
"_from": "log-symbols@>=1.0.2 <2.0.0",
|
||||
"_id": "log-symbols@1.0.2",
|
||||
"_inCache": true,
|
||||
"_installable": true,
|
||||
"_location": "/log-symbols",
|
||||
"_nodeVersion": "0.12.0",
|
||||
"_npmUser": {
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"name": "sindresorhus"
|
||||
},
|
||||
"_npmVersion": "2.5.1",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"name": "log-symbols",
|
||||
"raw": "log-symbols@^1.0.2",
|
||||
"rawSpec": "^1.0.2",
|
||||
"scope": null,
|
||||
"spec": ">=1.0.2 <2.0.0",
|
||||
"type": "range"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/colorguard",
|
||||
"/colorguard/postcss-reporter",
|
||||
"/postcss-reporter",
|
||||
"/stylehacks",
|
||||
"/stylehacks/postcss-reporter",
|
||||
"/stylelint"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-1.0.2.tgz",
|
||||
"_shasum": "376ff7b58ea3086a0f09facc74617eca501e1a18",
|
||||
"_shrinkwrap": null,
|
||||
"_spec": "log-symbols@^1.0.2",
|
||||
"_where": "/Users/pmarsceill/_projects/just-the-docs/node_modules/stylelint",
|
||||
"author": {
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"name": "Sindre Sorhus",
|
||||
"url": "http://sindresorhus.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/sindresorhus/log-symbols/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"chalk": "^1.0.0"
|
||||
},
|
||||
"description": "Colored symbols for various log levels. Example: ✔︎ success",
|
||||
"devDependencies": {
|
||||
"ava": "0.0.4"
|
||||
},
|
||||
"directories": {},
|
||||
"dist": {
|
||||
"shasum": "376ff7b58ea3086a0f09facc74617eca501e1a18",
|
||||
"tarball": "https://registry.npmjs.org/log-symbols/-/log-symbols-1.0.2.tgz"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"gitHead": "ffcc995a1d4efc91ceed3e536fecccc8dc517c76",
|
||||
"homepage": "https://github.com/sindresorhus/log-symbols",
|
||||
"keywords": [
|
||||
"char",
|
||||
"characters",
|
||||
"cli",
|
||||
"cmd",
|
||||
"command-line",
|
||||
"fallback",
|
||||
"figure",
|
||||
"figures",
|
||||
"log",
|
||||
"logging",
|
||||
"stdout",
|
||||
"symbol",
|
||||
"symbols",
|
||||
"terminal",
|
||||
"unicode",
|
||||
"win",
|
||||
"windows"
|
||||
],
|
||||
"license": "MIT",
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "sindresorhus",
|
||||
"email": "sindresorhus@gmail.com"
|
||||
}
|
||||
],
|
||||
"name": "log-symbols",
|
||||
"optionalDependencies": {},
|
||||
"readme": "ERROR: No README data found!",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/sindresorhus/log-symbols.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "node test.js"
|
||||
},
|
||||
"version": "1.0.2"
|
||||
}
|
39
node_modules/log-symbols/readme.md
generated
vendored
Normal file
39
node_modules/log-symbols/readme.md
generated
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
# log-symbols [](https://travis-ci.org/sindresorhus/log-symbols)
|
||||
|
||||
> Colored symbols for various log levels
|
||||
|
||||
Includes fallbacks for Windows CMD which only supports a [limited character set](http://en.wikipedia.org/wiki/Code_page_437).
|
||||
|
||||

|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```sh
|
||||
$ npm install --save log-symbols
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var logSymbols = require('log-symbols');
|
||||
|
||||
console.log(logSymbols.success, 'finished successfully!');
|
||||
// On real OSes: ✔ finished successfully!
|
||||
// On Windows: √ finished successfully!
|
||||
```
|
||||
|
||||
## API
|
||||
|
||||
### logSymbols
|
||||
|
||||
#### info
|
||||
#### success
|
||||
#### warning
|
||||
#### error
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](http://sindresorhus.com)
|
Reference in New Issue
Block a user