first part is working
This commit is contained in:
21
node_modules/@types/command-line-args/LICENSE
generated
vendored
Normal file
21
node_modules/@types/command-line-args/LICENSE
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
|
||||
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
|
16
node_modules/@types/command-line-args/README.md
generated
vendored
Normal file
16
node_modules/@types/command-line-args/README.md
generated
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
# Installation
|
||||
> `npm install --save @types/command-line-args`
|
||||
|
||||
# Summary
|
||||
This package contains type definitions for command-line-args (https://github.com/75lb/command-line-args).
|
||||
|
||||
# Details
|
||||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/command-line-args
|
||||
|
||||
Additional Details
|
||||
* Last updated: Thu, 03 May 2018 20:08:25 GMT
|
||||
* Dependencies: none
|
||||
* Global values: none
|
||||
|
||||
# Credits
|
||||
These definitions were written by Lloyd Brookes <https://github.com/75lb>.
|
90
node_modules/@types/command-line-args/index.d.ts
generated
vendored
Normal file
90
node_modules/@types/command-line-args/index.d.ts
generated
vendored
Normal file
@ -0,0 +1,90 @@
|
||||
// Type definitions for command-line-args 5.0
|
||||
// Project: https://github.com/75lb/command-line-args
|
||||
// Definitions by: Lloyd Brookes <https://github.com/75lb>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
|
||||
/**
|
||||
* Returns an object containing option values parsed from the command line. By default it parses the global `process.argv` array.
|
||||
* Parsing is strict by default. To be more permissive, enable `partial` or `stopAtFirstUnknown` modes.
|
||||
*/
|
||||
declare function commandLineArgs(optionDefinitions: commandLineArgs.OptionDefinition[], options?: commandLineArgs.ParseOptions): commandLineArgs.CommandLineOptions;
|
||||
|
||||
declare namespace commandLineArgs {
|
||||
interface CommandLineOptions {
|
||||
/**
|
||||
* Command-line arguments not parsed by `commandLineArgs`.
|
||||
*/
|
||||
_unknown?: string[];
|
||||
[propName: string]: any;
|
||||
}
|
||||
|
||||
interface ParseOptions {
|
||||
/**
|
||||
* An array of strings which if present will be parsed instead of `process.argv`.
|
||||
*/
|
||||
argv?: string[];
|
||||
|
||||
/**
|
||||
* If `true`, `commandLineArgs` will not throw on unknown options or values, instead returning them in the `_unknown` property of the output.
|
||||
*/
|
||||
partial?: boolean;
|
||||
|
||||
/**
|
||||
* If `true`, `commandLineArgs` will not throw on unknown options or values. Instead, parsing will stop at the first unknown argument
|
||||
* and the remaining arguments returned in the `_unknown` property of the output. If set, `partial: true` is implied.
|
||||
*/
|
||||
stopAtFirstUnknown?: boolean;
|
||||
|
||||
/**
|
||||
* If `true`, options with hypenated names (e.g. `move-to`) will be returned in camel-case (e.g. `moveTo`).
|
||||
*/
|
||||
camelCase?: boolean;
|
||||
}
|
||||
|
||||
interface OptionDefinition {
|
||||
/**
|
||||
* The long option name.
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* A setter function (you receive the output from this) enabling you to be specific about the type and value received. Typical values
|
||||
* are `String` (the default), `Number` and `Boolean` but you can use a custom function. If no option value was set you will receive `null`.
|
||||
*/
|
||||
type?: (input: string) => any;
|
||||
|
||||
/**
|
||||
* A getopt-style short option name. Can be any single character except a digit or hyphen.
|
||||
*/
|
||||
alias?: string;
|
||||
|
||||
/**
|
||||
* Set this flag if the option accepts multiple values. In the output, you will receive an array of values each passed through the `type` function.
|
||||
*/
|
||||
multiple?: boolean;
|
||||
|
||||
/**
|
||||
* Identical to `multiple` but with greedy parsing disabled.
|
||||
*/
|
||||
lazyMultiple?: boolean;
|
||||
|
||||
/**
|
||||
* Any values unaccounted for by an option definition will be set on the `defaultOption`. This flag is typically set
|
||||
* on the most commonly-used option to enable more concise usage.
|
||||
*/
|
||||
defaultOption?: boolean;
|
||||
|
||||
/**
|
||||
* An initial value for the option.
|
||||
*/
|
||||
defaultValue?: any;
|
||||
|
||||
/**
|
||||
* One or more group names the option belongs to.
|
||||
*/
|
||||
group?: string | string[];
|
||||
}
|
||||
}
|
||||
|
||||
export = commandLineArgs;
|
51
node_modules/@types/command-line-args/package.json
generated
vendored
Normal file
51
node_modules/@types/command-line-args/package.json
generated
vendored
Normal file
@ -0,0 +1,51 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"@types/command-line-args@5.0.0",
|
||||
"/opt/services/PiAlive"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "@types/command-line-args@5.0.0",
|
||||
"_id": "@types/command-line-args@5.0.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-4eOPXyn5DmP64MCMF8ePDvdlvlzt2a+F8ZaVjqmh2yFCpGjc1kI3kGnCFYX9SCsGTjQcWIyVZ86IHCEyjy/MNg==",
|
||||
"_location": "/@types/command-line-args",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "@types/command-line-args@5.0.0",
|
||||
"name": "@types/command-line-args",
|
||||
"escapedName": "@types%2fcommand-line-args",
|
||||
"scope": "@types",
|
||||
"rawSpec": "5.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "5.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"#DEV:/"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@types/command-line-args/-/command-line-args-5.0.0.tgz",
|
||||
"_spec": "5.0.0",
|
||||
"_where": "/opt/services/PiAlive",
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Lloyd Brookes",
|
||||
"url": "https://github.com/75lb"
|
||||
}
|
||||
],
|
||||
"dependencies": {},
|
||||
"description": "TypeScript definitions for command-line-args",
|
||||
"license": "MIT",
|
||||
"main": "",
|
||||
"name": "@types/command-line-args",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
|
||||
},
|
||||
"scripts": {},
|
||||
"typeScriptVersion": "2.2",
|
||||
"typesPublisherContentHash": "ac83de209d63ac92e03dd17bbadb3e37bbd2552f573bba286ba77e9cfe34dbf6",
|
||||
"version": "5.0.0"
|
||||
}
|
27
node_modules/@types/moment/package.json
generated
vendored
27
node_modules/@types/moment/package.json
generated
vendored
@ -1,38 +1,41 @@
|
||||
{
|
||||
"_from": "@types/moment",
|
||||
"_args": [
|
||||
[
|
||||
"@types/moment@2.13.0",
|
||||
"/opt/services/PiAlive"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "@types/moment@2.13.0",
|
||||
"_id": "@types/moment@2.13.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-YE69GJvDvDShVIaJQE5hoqSqyJY=",
|
||||
"_location": "/@types/moment",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "tag",
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "@types/moment",
|
||||
"raw": "@types/moment@2.13.0",
|
||||
"name": "@types/moment",
|
||||
"escapedName": "@types%2fmoment",
|
||||
"scope": "@types",
|
||||
"rawSpec": "",
|
||||
"rawSpec": "2.13.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "latest"
|
||||
"fetchSpec": "2.13.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"#DEV:/",
|
||||
"#USER"
|
||||
"#DEV:/"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@types/moment/-/moment-2.13.0.tgz",
|
||||
"_shasum": "604ebd189bc3bc34a1548689404e61a2a4aac896",
|
||||
"_spec": "@types/moment",
|
||||
"_where": "/home/wn/workspace-node/PiAlive",
|
||||
"_spec": "2.13.0",
|
||||
"_where": "/opt/services/PiAlive",
|
||||
"author": "",
|
||||
"bugs": {
|
||||
"url": "https://github.com/moment/moment/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {
|
||||
"moment": "*"
|
||||
},
|
||||
"deprecated": "This is a stub types definition for Moment (https://github.com/moment/moment). Moment provides its own type definitions, so you don't need @types/moment installed!",
|
||||
"description": "Stub TypeScript definitions entry for Moment, which provides its own types definitions",
|
||||
"homepage": "https://github.com/moment/moment#readme",
|
||||
"license": "MIT",
|
||||
|
26
node_modules/@types/node/package.json
generated
vendored
26
node_modules/@types/node/package.json
generated
vendored
@ -1,33 +1,38 @@
|
||||
{
|
||||
"_from": "@types/node",
|
||||
"_args": [
|
||||
[
|
||||
"@types/node@10.1.0",
|
||||
"/opt/services/PiAlive"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "@types/node@10.1.0",
|
||||
"_id": "@types/node@10.1.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-sELcX/cJHwRp8kn4hYSvBxKGJ+ubl3MvS8VJQe5gz/sp7CifYxsiCxIJ35wMIYyGVMgfO2AzRa8UcVReAcJRlw==",
|
||||
"_location": "/@types/node",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "tag",
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "@types/node",
|
||||
"raw": "@types/node@10.1.0",
|
||||
"name": "@types/node",
|
||||
"escapedName": "@types%2fnode",
|
||||
"scope": "@types",
|
||||
"rawSpec": "",
|
||||
"rawSpec": "10.1.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "latest"
|
||||
"fetchSpec": "10.1.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"#DEV:/",
|
||||
"#USER"
|
||||
"/@types/onoff"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@types/node/-/node-10.1.0.tgz",
|
||||
"_shasum": "2783ee1b6c47cbd4044f4a233976c1ac5fa9e942",
|
||||
"_spec": "@types/node",
|
||||
"_where": "/home/wn/workspace-node/PiAlive",
|
||||
"_spec": "10.1.0",
|
||||
"_where": "/opt/services/PiAlive",
|
||||
"bugs": {
|
||||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Microsoft TypeScript",
|
||||
@ -127,7 +132,6 @@
|
||||
}
|
||||
],
|
||||
"dependencies": {},
|
||||
"deprecated": false,
|
||||
"description": "TypeScript definitions for Node.js",
|
||||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped.git#readme",
|
||||
"license": "MIT",
|
||||
|
27
node_modules/@types/onoff/package.json
generated
vendored
27
node_modules/@types/onoff/package.json
generated
vendored
@ -1,38 +1,41 @@
|
||||
{
|
||||
"_from": "@types/onoff",
|
||||
"_args": [
|
||||
[
|
||||
"@types/onoff@0.0.27",
|
||||
"/opt/services/PiAlive"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "@types/onoff@0.0.27",
|
||||
"_id": "@types/onoff@0.0.27",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-V3fk2EWEsACiLUtfPQSZuYrlRHg=",
|
||||
"_location": "/@types/onoff",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "tag",
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "@types/onoff",
|
||||
"raw": "@types/onoff@0.0.27",
|
||||
"name": "@types/onoff",
|
||||
"escapedName": "@types%2fonoff",
|
||||
"scope": "@types",
|
||||
"rawSpec": "",
|
||||
"rawSpec": "0.0.27",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "latest"
|
||||
"fetchSpec": "0.0.27"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"#DEV:/",
|
||||
"#USER"
|
||||
"#DEV:/"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@types/onoff/-/onoff-0.0.27.tgz",
|
||||
"_shasum": "5777e4d84584b000a22d4b5f3d0499b98ae54478",
|
||||
"_spec": "@types/onoff",
|
||||
"_where": "/home/wn/workspace-node/PiAlive",
|
||||
"_spec": "0.0.27",
|
||||
"_where": "/opt/services/PiAlive",
|
||||
"author": {
|
||||
"name": "Marcel Ernst",
|
||||
"email": "https://github.com/marcel-ernst"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {
|
||||
"@types/node": "*"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "TypeScript definitions for onoff",
|
||||
"license": "MIT",
|
||||
"main": "",
|
||||
|
Reference in New Issue
Block a user