Added game info bar

This commit is contained in:
clerie
2018-04-04 12:31:55 +02:00
parent 811ecfddfb
commit 95741499fd
271 changed files with 46086 additions and 2 deletions
index.js
node_modules
.bin
commander
diff
escape-string-regexp
glob
growl
jade
lru-cache
minimatch
minimist
mkdirp
mocha
quick-local-ip
sigmund
supports-color
to-iso-string
package-lock.jsonpackage.json
public

29
node_modules/supports-color/cli.js generated vendored Executable file

@@ -0,0 +1,29 @@
#!/usr/bin/env node
'use strict';
var pkg = require('./package.json');
var supportsColor = require('./');
var argv = process.argv.slice(2);
function help() {
console.log([
'',
' ' + pkg.description,
'',
' Usage',
' supports-color',
'',
' Exits with code 0 if color is supported and 1 if not'
].join('\n'));
}
if (argv.indexOf('--help') !== -1) {
help();
return;
}
if (argv.indexOf('--version') !== -1) {
console.log(pkg.version);
return;
}
process.exit(supportsColor ? 0 : 1);

39
node_modules/supports-color/index.js generated vendored Normal file

@@ -0,0 +1,39 @@
'use strict';
var argv = process.argv;
module.exports = (function () {
if (argv.indexOf('--no-color') !== -1 ||
argv.indexOf('--no-colors') !== -1 ||
argv.indexOf('--color=false') !== -1) {
return false;
}
if (argv.indexOf('--color') !== -1 ||
argv.indexOf('--colors') !== -1 ||
argv.indexOf('--color=true') !== -1 ||
argv.indexOf('--color=always') !== -1) {
return true;
}
if (process.stdout && !process.stdout.isTTY) {
return false;
}
if (process.platform === 'win32') {
return true;
}
if ('COLORTERM' in process.env) {
return true;
}
if (process.env.TERM === 'dumb') {
return false;
}
if (/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test(process.env.TERM)) {
return true;
}
return false;
})();

83
node_modules/supports-color/package.json generated vendored Normal file

@@ -0,0 +1,83 @@
{
"_from": "supports-color@1.2.0",
"_id": "supports-color@1.2.0",
"_inBundle": false,
"_integrity": "sha1-/x7R5hFp0Gs88tWI4YixjYhH4X4=",
"_location": "/supports-color",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "supports-color@1.2.0",
"name": "supports-color",
"escapedName": "supports-color",
"rawSpec": "1.2.0",
"saveSpec": null,
"fetchSpec": "1.2.0"
},
"_requiredBy": [
"/mocha"
],
"_resolved": "https://registry.npmjs.org/supports-color/-/supports-color-1.2.0.tgz",
"_shasum": "ff1ed1e61169d06b3cf2d588e188b18d8847e17e",
"_spec": "supports-color@1.2.0",
"_where": "/home/clemens/Dokumente/git/pixelnode/node_modules/mocha",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "http://sindresorhus.com"
},
"bin": {
"supports-color": "cli.js"
},
"bugs": {
"url": "https://github.com/sindresorhus/supports-color/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "Detect whether a terminal supports color",
"devDependencies": {
"mocha": "*",
"require-uncached": "^1.0.2"
},
"engines": {
"node": ">=0.10.0"
},
"files": [
"index.js",
"cli.js"
],
"homepage": "https://github.com/sindresorhus/supports-color#readme",
"keywords": [
"cli",
"bin",
"color",
"colour",
"colors",
"terminal",
"console",
"cli",
"ansi",
"styles",
"tty",
"rgb",
"256",
"shell",
"xterm",
"command-line",
"support",
"supports",
"capability",
"detect"
],
"license": "MIT",
"name": "supports-color",
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/supports-color.git"
},
"scripts": {
"test": "mocha"
},
"version": "1.2.0"
}

44
node_modules/supports-color/readme.md generated vendored Normal file

@@ -0,0 +1,44 @@
# supports-color [![Build Status](https://travis-ci.org/sindresorhus/supports-color.svg?branch=master)](https://travis-ci.org/sindresorhus/supports-color)
> Detect whether a terminal supports color
## Install
```sh
$ npm install --save supports-color
```
## Usage
```js
var supportsColor = require('supports-color');
if (supportsColor) {
console.log('Terminal supports color');
}
```
It obeys the `--color` and `--no-color` CLI flags.
## CLI
```sh
$ npm install --global supports-color
```
```
$ supports-color --help
Usage
supports-color
Exits with code 0 if color is supported and 1 if not
```
## License
MIT © [Sindre Sorhus](http://sindresorhus.com)