first part is working

This commit is contained in:
Wolfgang Hottgenroth
2018-05-16 10:24:31 +02:00
parent 93658dcc30
commit 74584cdbbe
38 changed files with 574 additions and 251 deletions

15
dist/config.js vendored Normal file
View File

@ -0,0 +1,15 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const fs = require("fs");
const cmdargs = require("command-line-args");
const OPTION_DEFINITIONS = [
{ name: 'verbose', alias: 'v', type: Boolean },
{ name: 'config', alias: 'c', type: String, defaultValue: '~/PiAlive.conf' }
];
function readConfig() {
let options = cmdargs(OPTION_DEFINITIONS);
exports.dict = JSON.parse(fs.readFileSync(options.config, "utf8"));
}
exports.readConfig = readConfig;
readConfig();
//# sourceMappingURL=config.js.map

1
dist/config.js.map vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":";;AAAA,yBAAwB;AACxB,6CAA4C;AAI5C,MAAM,kBAAkB,GAAG;IACvB,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE;IAC9C,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,gBAAgB,EAAE;CAC/E,CAAC;AAKF;IACI,IAAI,OAAO,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAA;IACzC,YAAI,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,OAAO,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;AAC9D,CAAC;AAHD,gCAGC;AAED,UAAU,EAAE,CAAA"}

56
dist/log.js vendored Normal file
View File

@ -0,0 +1,56 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const moment = require("moment");
var Level;
(function (Level) {
Level[Level["All"] = 0] = "All";
Level[Level["NoDebug"] = 1] = "NoDebug";
Level[Level["NoDebugNoInfo"] = 2] = "NoDebugNoInfo";
Level[Level["NoDebugNoInfoNoWarning"] = 3] = "NoDebugNoInfoNoWarning";
})(Level || (Level = {}));
var level = Level.NoDebug;
function timestamp() {
return moment().format('HH:mm:ss.SSS');
}
function setLevel(value) {
switch (value) {
case 'info':
level = Level.NoDebug;
break;
case 'warn':
level = Level.NoDebugNoInfo;
break;
case 'error':
level = Level.NoDebugNoInfoNoWarning;
break;
default: level = Level.All;
}
}
exports.setLevel = setLevel;
function info(message) {
if (level < Level.NoDebugNoInfo) {
console.log(`${timestamp()} [ II ] ${message}`);
}
}
exports.info = info;
function warn(message) {
if (level < Level.NoDebugNoInfoNoWarning) {
console.log(`${timestamp()} [ WW ] ${message}`);
}
}
exports.warn = warn;
function error(message) {
console.log(`${timestamp()} [ EE ] ${message}`);
}
exports.error = error;
function success(message) {
console.log(`${timestamp()} [ OK ] ${message}`);
}
exports.success = success;
function debug(message) {
if (level < Level.NoDebug) {
console.log(`${timestamp()} [ DB ] ${message}`);
}
}
exports.debug = debug;
//# sourceMappingURL=log.js.map

1
dist/log.js.map vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"log.js","sourceRoot":"","sources":["../src/log.ts"],"names":[],"mappings":";;AAAA,iCAAgC;AAIhC,IAAK,KAKJ;AALD,WAAK,KAAK;IACN,+BAAG,CAAA;IACH,uCAAO,CAAA;IACP,mDAAa,CAAA;IACb,qEAAsB,CAAA;AAC1B,CAAC,EALI,KAAK,KAAL,KAAK,QAKT;AAED,IAAI,KAAK,GAAG,KAAK,CAAC,OAAO,CAAA;AAEzB;IACI,OAAO,MAAM,EAAE,CAAC,MAAM,CAAC,cAAc,CAAC,CAAA;AAC1C,CAAC;AAED,kBAAyB,KAAa;IAClC,QAAQ,KAAK,EAAE;QACX,KAAK,MAAM;YAAG,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC;YAAC,MAAK;QAC1C,KAAK,MAAM;YAAG,KAAK,GAAG,KAAK,CAAC,aAAa,CAAC;YAAC,MAAK;QAChD,KAAK,OAAO;YAAE,KAAK,GAAG,KAAK,CAAC,sBAAsB,CAAC;YAAC,MAAK;QACzD,OAAO,CAAC,CAAM,KAAK,GAAG,KAAK,CAAC,GAAG,CAAA;KAClC;AACL,CAAC;AAPD,4BAOC;AAGD,cAAqB,OAAe;IAChC,IAAI,KAAK,GAAG,KAAK,CAAC,aAAa,EAAE;QAC7B,OAAO,CAAC,GAAG,CAAC,GAAG,SAAS,EAAE,WAAW,OAAO,EAAE,CAAC,CAAA;KAClD;AACL,CAAC;AAJD,oBAIC;AAED,cAAqB,OAAe;IAChC,IAAI,KAAK,GAAG,KAAK,CAAC,sBAAsB,EAAE;QACtC,OAAO,CAAC,GAAG,CAAC,GAAG,SAAS,EAAE,WAAW,OAAO,EAAE,CAAC,CAAA;KAClD;AACL,CAAC;AAJD,oBAIC;AAED,eAAsB,OAAe;IACjC,OAAO,CAAC,GAAG,CAAC,GAAG,SAAS,EAAE,WAAW,OAAO,EAAE,CAAC,CAAA;AACnD,CAAC;AAFD,sBAEC;AAED,iBAAwB,OAAe;IACnC,OAAO,CAAC,GAAG,CAAC,GAAG,SAAS,EAAE,WAAW,OAAO,EAAE,CAAC,CAAA;AACnD,CAAC;AAFD,0BAEC;AAED,eAAsB,OAAe;IACjC,IAAI,KAAK,GAAG,KAAK,CAAC,OAAO,EAAE;QACvB,OAAO,CAAC,GAAG,CAAC,GAAG,SAAS,EAAE,WAAW,OAAO,EAAE,CAAC,CAAA;KAClD;AACL,CAAC;AAJD,sBAIC"}

18
dist/main.js vendored Normal file
View File

@ -0,0 +1,18 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const log = require("./log");
const config = require("./config");
const gpio = require("onoff");
const LED1 = new gpio.Gpio(16, 'out');
const LED2 = new gpio.Gpio(26, 'out');
log.info("PiAlive starting");
LED1.writeSync(0);
LED2.writeSync(0);
let heartbeatTimer = setInterval(() => {
LED1.writeSync(1);
setTimeout(() => {
LED1.writeSync(0);
}, 100);
}, config.dict.heartbeatInterval);
log.info("PiAlive running");
//# sourceMappingURL=main.js.map

1
dist/main.js.map vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":";;AAAA,6BAA4B;AAC5B,mCAAkC;AAClC,8BAA6B;AAE7B,MAAM,IAAI,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAA;AACrC,MAAM,IAAI,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAA;AAGrC,GAAG,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAA;AAC5B,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAA;AACjB,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAA;AAGjB,IAAI,cAAc,GAAG,WAAW,CAAC,GAAG,EAAE;IACpC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAA;IACjB,UAAU,CAAC,GAAG,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAA;IACnB,CAAC,EAAE,GAAG,CAAC,CAAA;AACT,CAAC,EAAE,MAAM,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAA;AAOjC,GAAG,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAA"}

21
node_modules/@types/command-line-args/LICENSE generated vendored Normal file
View 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
View 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
View 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
View 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"
}

View File

@ -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", "_id": "@types/moment@2.13.0",
"_inBundle": false, "_inBundle": false,
"_integrity": "sha1-YE69GJvDvDShVIaJQE5hoqSqyJY=", "_integrity": "sha1-YE69GJvDvDShVIaJQE5hoqSqyJY=",
"_location": "/@types/moment", "_location": "/@types/moment",
"_phantomChildren": {}, "_phantomChildren": {},
"_requested": { "_requested": {
"type": "tag", "type": "version",
"registry": true, "registry": true,
"raw": "@types/moment", "raw": "@types/moment@2.13.0",
"name": "@types/moment", "name": "@types/moment",
"escapedName": "@types%2fmoment", "escapedName": "@types%2fmoment",
"scope": "@types", "scope": "@types",
"rawSpec": "", "rawSpec": "2.13.0",
"saveSpec": null, "saveSpec": null,
"fetchSpec": "latest" "fetchSpec": "2.13.0"
}, },
"_requiredBy": [ "_requiredBy": [
"#DEV:/", "#DEV:/"
"#USER"
], ],
"_resolved": "https://registry.npmjs.org/@types/moment/-/moment-2.13.0.tgz", "_resolved": "https://registry.npmjs.org/@types/moment/-/moment-2.13.0.tgz",
"_shasum": "604ebd189bc3bc34a1548689404e61a2a4aac896", "_spec": "2.13.0",
"_spec": "@types/moment", "_where": "/opt/services/PiAlive",
"_where": "/home/wn/workspace-node/PiAlive",
"author": "", "author": "",
"bugs": { "bugs": {
"url": "https://github.com/moment/moment/issues" "url": "https://github.com/moment/moment/issues"
}, },
"bundleDependencies": false,
"dependencies": { "dependencies": {
"moment": "*" "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", "description": "Stub TypeScript definitions entry for Moment, which provides its own types definitions",
"homepage": "https://github.com/moment/moment#readme", "homepage": "https://github.com/moment/moment#readme",
"license": "MIT", "license": "MIT",

View File

@ -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", "_id": "@types/node@10.1.0",
"_inBundle": false, "_inBundle": false,
"_integrity": "sha512-sELcX/cJHwRp8kn4hYSvBxKGJ+ubl3MvS8VJQe5gz/sp7CifYxsiCxIJ35wMIYyGVMgfO2AzRa8UcVReAcJRlw==", "_integrity": "sha512-sELcX/cJHwRp8kn4hYSvBxKGJ+ubl3MvS8VJQe5gz/sp7CifYxsiCxIJ35wMIYyGVMgfO2AzRa8UcVReAcJRlw==",
"_location": "/@types/node", "_location": "/@types/node",
"_phantomChildren": {}, "_phantomChildren": {},
"_requested": { "_requested": {
"type": "tag", "type": "version",
"registry": true, "registry": true,
"raw": "@types/node", "raw": "@types/node@10.1.0",
"name": "@types/node", "name": "@types/node",
"escapedName": "@types%2fnode", "escapedName": "@types%2fnode",
"scope": "@types", "scope": "@types",
"rawSpec": "", "rawSpec": "10.1.0",
"saveSpec": null, "saveSpec": null,
"fetchSpec": "latest" "fetchSpec": "10.1.0"
}, },
"_requiredBy": [ "_requiredBy": [
"#DEV:/", "#DEV:/",
"#USER" "/@types/onoff"
], ],
"_resolved": "https://registry.npmjs.org/@types/node/-/node-10.1.0.tgz", "_resolved": "https://registry.npmjs.org/@types/node/-/node-10.1.0.tgz",
"_shasum": "2783ee1b6c47cbd4044f4a233976c1ac5fa9e942", "_spec": "10.1.0",
"_spec": "@types/node", "_where": "/opt/services/PiAlive",
"_where": "/home/wn/workspace-node/PiAlive",
"bugs": { "bugs": {
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git/issues" "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git/issues"
}, },
"bundleDependencies": false,
"contributors": [ "contributors": [
{ {
"name": "Microsoft TypeScript", "name": "Microsoft TypeScript",
@ -127,7 +132,6 @@
} }
], ],
"dependencies": {}, "dependencies": {},
"deprecated": false,
"description": "TypeScript definitions for Node.js", "description": "TypeScript definitions for Node.js",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped.git#readme", "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped.git#readme",
"license": "MIT", "license": "MIT",

View File

@ -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", "_id": "@types/onoff@0.0.27",
"_inBundle": false, "_inBundle": false,
"_integrity": "sha1-V3fk2EWEsACiLUtfPQSZuYrlRHg=", "_integrity": "sha1-V3fk2EWEsACiLUtfPQSZuYrlRHg=",
"_location": "/@types/onoff", "_location": "/@types/onoff",
"_phantomChildren": {}, "_phantomChildren": {},
"_requested": { "_requested": {
"type": "tag", "type": "version",
"registry": true, "registry": true,
"raw": "@types/onoff", "raw": "@types/onoff@0.0.27",
"name": "@types/onoff", "name": "@types/onoff",
"escapedName": "@types%2fonoff", "escapedName": "@types%2fonoff",
"scope": "@types", "scope": "@types",
"rawSpec": "", "rawSpec": "0.0.27",
"saveSpec": null, "saveSpec": null,
"fetchSpec": "latest" "fetchSpec": "0.0.27"
}, },
"_requiredBy": [ "_requiredBy": [
"#DEV:/", "#DEV:/"
"#USER"
], ],
"_resolved": "https://registry.npmjs.org/@types/onoff/-/onoff-0.0.27.tgz", "_resolved": "https://registry.npmjs.org/@types/onoff/-/onoff-0.0.27.tgz",
"_shasum": "5777e4d84584b000a22d4b5f3d0499b98ae54478", "_spec": "0.0.27",
"_spec": "@types/onoff", "_where": "/opt/services/PiAlive",
"_where": "/home/wn/workspace-node/PiAlive",
"author": { "author": {
"name": "Marcel Ernst", "name": "Marcel Ernst",
"email": "https://github.com/marcel-ernst" "email": "https://github.com/marcel-ernst"
}, },
"bundleDependencies": false,
"dependencies": { "dependencies": {
"@types/node": "*" "@types/node": "*"
}, },
"deprecated": false,
"description": "TypeScript definitions for onoff", "description": "TypeScript definitions for onoff",
"license": "MIT", "license": "MIT",
"main": "", "main": "",

23
node_modules/argv-tools/package.json generated vendored
View File

@ -1,27 +1,32 @@
{ {
"_from": "argv-tools@^0.1.1", "_args": [
[
"argv-tools@0.1.1",
"/opt/services/PiAlive"
]
],
"_from": "argv-tools@0.1.1",
"_id": "argv-tools@0.1.1", "_id": "argv-tools@0.1.1",
"_inBundle": false, "_inBundle": false,
"_integrity": "sha512-Cc0dBvx4dvrjjKpyDA6w8RlNAw8Su30NvZbWl/Tv9ZALEVlLVkWQiHMi84Q0xNfpVuSaiQbYkdmWK8g1PLGhKw==", "_integrity": "sha512-Cc0dBvx4dvrjjKpyDA6w8RlNAw8Su30NvZbWl/Tv9ZALEVlLVkWQiHMi84Q0xNfpVuSaiQbYkdmWK8g1PLGhKw==",
"_location": "/argv-tools", "_location": "/argv-tools",
"_phantomChildren": {}, "_phantomChildren": {},
"_requested": { "_requested": {
"type": "range", "type": "version",
"registry": true, "registry": true,
"raw": "argv-tools@^0.1.1", "raw": "argv-tools@0.1.1",
"name": "argv-tools", "name": "argv-tools",
"escapedName": "argv-tools", "escapedName": "argv-tools",
"rawSpec": "^0.1.1", "rawSpec": "0.1.1",
"saveSpec": null, "saveSpec": null,
"fetchSpec": "^0.1.1" "fetchSpec": "0.1.1"
}, },
"_requiredBy": [ "_requiredBy": [
"/command-line-args" "/command-line-args"
], ],
"_resolved": "https://registry.npmjs.org/argv-tools/-/argv-tools-0.1.1.tgz", "_resolved": "https://registry.npmjs.org/argv-tools/-/argv-tools-0.1.1.tgz",
"_shasum": "588283f3393ada47141440b12981cd41bf6b7032", "_spec": "0.1.1",
"_spec": "argv-tools@^0.1.1", "_where": "/opt/services/PiAlive",
"_where": "/home/wn/workspace-node/PiAlive/node_modules/command-line-args",
"author": { "author": {
"name": "Lloyd Brookes", "name": "Lloyd Brookes",
"email": "75pound@gmail.com" "email": "75pound@gmail.com"
@ -29,12 +34,10 @@
"bugs": { "bugs": {
"url": "https://github.com/75lb/argv-tools/issues" "url": "https://github.com/75lb/argv-tools/issues"
}, },
"bundleDependencies": false,
"dependencies": { "dependencies": {
"array-back": "^2.0.0", "array-back": "^2.0.0",
"find-replace": "^2.0.1" "find-replace": "^2.0.1"
}, },
"deprecated": false,
"description": "[![view on npm](https://img.shields.io/npm/v/argv-tools.svg)](https://www.npmjs.org/package/argv-tools) [![npm module downloads](https://img.shields.io/npm/dt/argv-tools.svg)](https://www.npmjs.org/package/argv-tools) [![Build Status](https://travis-ci.org/75lb/argv-tools.svg?branch=master)](https://travis-ci.org/75lb/argv-tools) [![Dependency Status](https://david-dm.org/75lb/argv-tools.svg)](https://david-dm.org/75lb/argv-tools) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard)", "description": "[![view on npm](https://img.shields.io/npm/v/argv-tools.svg)](https://www.npmjs.org/package/argv-tools) [![npm module downloads](https://img.shields.io/npm/dt/argv-tools.svg)](https://www.npmjs.org/package/argv-tools) [![Build Status](https://travis-ci.org/75lb/argv-tools.svg?branch=master)](https://travis-ci.org/75lb/argv-tools) [![Dependency Status](https://david-dm.org/75lb/argv-tools.svg)](https://david-dm.org/75lb/argv-tools) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard)",
"devDependencies": { "devDependencies": {
"jsdoc-to-markdown": "^3.0.3", "jsdoc-to-markdown": "^3.0.3",

23
node_modules/array-back/package.json generated vendored
View File

@ -1,19 +1,25 @@
{ {
"_from": "array-back@^2.0.0", "_args": [
[
"array-back@2.0.0",
"/opt/services/PiAlive"
]
],
"_from": "array-back@2.0.0",
"_id": "array-back@2.0.0", "_id": "array-back@2.0.0",
"_inBundle": false, "_inBundle": false,
"_integrity": "sha512-eJv4pLLufP3g5kcZry0j6WXpIbzYw9GUB4mVJZno9wfwiBxbizTnHCw3VJb07cBihbFX48Y7oSrW9y+gt4glyw==", "_integrity": "sha512-eJv4pLLufP3g5kcZry0j6WXpIbzYw9GUB4mVJZno9wfwiBxbizTnHCw3VJb07cBihbFX48Y7oSrW9y+gt4glyw==",
"_location": "/array-back", "_location": "/array-back",
"_phantomChildren": {}, "_phantomChildren": {},
"_requested": { "_requested": {
"type": "range", "type": "version",
"registry": true, "registry": true,
"raw": "array-back@^2.0.0", "raw": "array-back@2.0.0",
"name": "array-back", "name": "array-back",
"escapedName": "array-back", "escapedName": "array-back",
"rawSpec": "^2.0.0", "rawSpec": "2.0.0",
"saveSpec": null, "saveSpec": null,
"fetchSpec": "^2.0.0" "fetchSpec": "2.0.0"
}, },
"_requiredBy": [ "_requiredBy": [
"/argv-tools", "/argv-tools",
@ -22,9 +28,8 @@
"/test-value" "/test-value"
], ],
"_resolved": "https://registry.npmjs.org/array-back/-/array-back-2.0.0.tgz", "_resolved": "https://registry.npmjs.org/array-back/-/array-back-2.0.0.tgz",
"_shasum": "6877471d51ecc9c9bfa6136fb6c7d5fe69748022", "_spec": "2.0.0",
"_spec": "array-back@^2.0.0", "_where": "/opt/services/PiAlive",
"_where": "/home/wn/workspace-node/PiAlive/node_modules/command-line-args",
"author": { "author": {
"name": "Lloyd Brookes", "name": "Lloyd Brookes",
"email": "75pound@gmail.com" "email": "75pound@gmail.com"
@ -32,11 +37,9 @@
"bugs": { "bugs": {
"url": "https://github.com/75lb/array-back/issues" "url": "https://github.com/75lb/array-back/issues"
}, },
"bundleDependencies": false,
"dependencies": { "dependencies": {
"typical": "^2.6.1" "typical": "^2.6.1"
}, },
"deprecated": false,
"description": "Guarantees an array back", "description": "Guarantees an array back",
"devDependencies": { "devDependencies": {
"coveralls": "^2.13.1", "coveralls": "^2.13.1",

23
node_modules/bindings/package.json generated vendored
View File

@ -1,27 +1,32 @@
{ {
"_from": "bindings@^1.3.0", "_args": [
[
"bindings@1.3.0",
"/opt/services/PiAlive"
]
],
"_from": "bindings@1.3.0",
"_id": "bindings@1.3.0", "_id": "bindings@1.3.0",
"_inBundle": false, "_inBundle": false,
"_integrity": "sha512-DpLh5EzMR2kzvX1KIlVC0VkC3iZtHKTgdtZ0a3pglBZdaQFjt5S9g9xd1lE+YvXyfd6mtCeRnrUfOLYiTMlNSw==", "_integrity": "sha512-DpLh5EzMR2kzvX1KIlVC0VkC3iZtHKTgdtZ0a3pglBZdaQFjt5S9g9xd1lE+YvXyfd6mtCeRnrUfOLYiTMlNSw==",
"_location": "/bindings", "_location": "/bindings",
"_phantomChildren": {}, "_phantomChildren": {},
"_requested": { "_requested": {
"type": "range", "type": "version",
"registry": true, "registry": true,
"raw": "bindings@^1.3.0", "raw": "bindings@1.3.0",
"name": "bindings", "name": "bindings",
"escapedName": "bindings", "escapedName": "bindings",
"rawSpec": "^1.3.0", "rawSpec": "1.3.0",
"saveSpec": null, "saveSpec": null,
"fetchSpec": "^1.3.0" "fetchSpec": "1.3.0"
}, },
"_requiredBy": [ "_requiredBy": [
"/epoll" "/epoll"
], ],
"_resolved": "https://registry.npmjs.org/bindings/-/bindings-1.3.0.tgz", "_resolved": "https://registry.npmjs.org/bindings/-/bindings-1.3.0.tgz",
"_shasum": "b346f6ecf6a95f5a815c5839fc7cdb22502f1ed7", "_spec": "1.3.0",
"_spec": "bindings@^1.3.0", "_where": "/opt/services/PiAlive",
"_where": "/home/wn/workspace-node/PiAlive/node_modules/epoll",
"author": { "author": {
"name": "Nathan Rajlich", "name": "Nathan Rajlich",
"email": "nathan@tootallnate.net", "email": "nathan@tootallnate.net",
@ -30,8 +35,6 @@
"bugs": { "bugs": {
"url": "https://github.com/TooTallNate/node-bindings/issues" "url": "https://github.com/TooTallNate/node-bindings/issues"
}, },
"bundleDependencies": false,
"deprecated": false,
"description": "Helper module for loading your native module's .node file", "description": "Helper module for loading your native module's .node file",
"homepage": "https://github.com/TooTallNate/node-bindings", "homepage": "https://github.com/TooTallNate/node-bindings",
"keywords": [ "keywords": [

View File

@ -1,28 +1,32 @@
{ {
"_from": "command-line-args", "_args": [
[
"command-line-args@5.0.2",
"/opt/services/PiAlive"
]
],
"_from": "command-line-args@5.0.2",
"_id": "command-line-args@5.0.2", "_id": "command-line-args@5.0.2",
"_inBundle": false, "_inBundle": false,
"_integrity": "sha512-/qPcbL8zpqg53x4rAaqMFlRV4opN3pbla7I7k9x8kyOBMQoGT6WltjN6sXZuxOXw6DgdK7Ad+ijYS5gjcr7vlA==", "_integrity": "sha512-/qPcbL8zpqg53x4rAaqMFlRV4opN3pbla7I7k9x8kyOBMQoGT6WltjN6sXZuxOXw6DgdK7Ad+ijYS5gjcr7vlA==",
"_location": "/command-line-args", "_location": "/command-line-args",
"_phantomChildren": {}, "_phantomChildren": {},
"_requested": { "_requested": {
"type": "tag", "type": "version",
"registry": true, "registry": true,
"raw": "command-line-args", "raw": "command-line-args@5.0.2",
"name": "command-line-args", "name": "command-line-args",
"escapedName": "command-line-args", "escapedName": "command-line-args",
"rawSpec": "", "rawSpec": "5.0.2",
"saveSpec": null, "saveSpec": null,
"fetchSpec": "latest" "fetchSpec": "5.0.2"
}, },
"_requiredBy": [ "_requiredBy": [
"#USER",
"/" "/"
], ],
"_resolved": "https://registry.npmjs.org/command-line-args/-/command-line-args-5.0.2.tgz", "_resolved": "https://registry.npmjs.org/command-line-args/-/command-line-args-5.0.2.tgz",
"_shasum": "c4e56b016636af1323cf485aa25c3cb203dfbbe4", "_spec": "5.0.2",
"_spec": "command-line-args", "_where": "/opt/services/PiAlive",
"_where": "/home/wn/workspace-node/PiAlive",
"author": { "author": {
"name": "Lloyd Brookes", "name": "Lloyd Brookes",
"email": "75pound@gmail.com" "email": "75pound@gmail.com"
@ -30,7 +34,6 @@
"bugs": { "bugs": {
"url": "https://github.com/75lb/command-line-args/issues" "url": "https://github.com/75lb/command-line-args/issues"
}, },
"bundleDependencies": false,
"dependencies": { "dependencies": {
"argv-tools": "^0.1.1", "argv-tools": "^0.1.1",
"array-back": "^2.0.0", "array-back": "^2.0.0",
@ -38,7 +41,6 @@
"lodash.camelcase": "^4.3.0", "lodash.camelcase": "^4.3.0",
"typical": "^2.6.1" "typical": "^2.6.1"
}, },
"deprecated": false,
"description": "A mature, feature-complete library to parse command-line options.", "description": "A mature, feature-complete library to parse command-line options.",
"devDependencies": { "devDependencies": {
"coveralls": "^3.0.0", "coveralls": "^3.0.0",

4
node_modules/epoll/build/Makefile generated vendored
View File

@ -308,8 +308,8 @@ ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
endif endif
quiet_cmd_regen_makefile = ACTION Regenerating $@ quiet_cmd_regen_makefile = ACTION Regenerating $@
cmd_regen_makefile = cd $(srcdir); /usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py -fmake --ignore-environment "--toplevel-dir=." -I/home/wn/workspace-node/PiAlive/node_modules/epoll/build/config.gypi -I/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi -I/home/wn/.node-gyp/8.11.1/include/node/common.gypi "--depth=." "-Goutput_dir=." "--generator-output=build" "-Dlibrary=shared_library" "-Dvisibility=default" "-Dnode_root_dir=/home/wn/.node-gyp/8.11.1" "-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp" "-Dnode_lib_file=/home/wn/.node-gyp/8.11.1/<(target_arch)/node.lib" "-Dmodule_root_dir=/home/wn/workspace-node/PiAlive/node_modules/epoll" "-Dnode_engine=v8" binding.gyp cmd_regen_makefile = cd $(srcdir); /usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py -fmake --ignore-environment "--toplevel-dir=." -I/opt/services/PiAlive/node_modules/epoll/build/config.gypi -I/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi -I/home/pi/.node-gyp/8.9.3/include/node/common.gypi "--depth=." "-Goutput_dir=." "--generator-output=build" "-Dlibrary=shared_library" "-Dvisibility=default" "-Dnode_root_dir=/home/pi/.node-gyp/8.9.3" "-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp" "-Dnode_lib_file=/home/pi/.node-gyp/8.9.3/<(target_arch)/node.lib" "-Dmodule_root_dir=/opt/services/PiAlive/node_modules/epoll" "-Dnode_engine=v8" binding.gyp
Makefile: $(srcdir)/../../../../.node-gyp/8.11.1/include/node/common.gypi $(srcdir)/build/config.gypi $(srcdir)/binding.gyp $(srcdir)/../../../../../../usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi Makefile: $(srcdir)/../../../../../home/pi/.node-gyp/8.9.3/include/node/common.gypi $(srcdir)/build/config.gypi $(srcdir)/binding.gyp $(srcdir)/../../../../../usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi
$(call do_cmd,regen_makefile) $(call do_cmd,regen_makefile)
# "all" is a concatenation of the "all" targets from all the included # "all" is a concatenation of the "all" targets from all the included

View File

@ -1 +1 @@
cmd_Release/obj.target/epoll.node := g++ -shared -pthread -rdynamic -m64 -Wl,-soname=epoll.node -o Release/obj.target/epoll.node -Wl,--start-group Release/obj.target/epoll/src/epoll.o -Wl,--end-group cmd_Release/obj.target/epoll.node := g++ -shared -pthread -rdynamic -Wl,-soname=epoll.node -o Release/obj.target/epoll.node -Wl,--start-group Release/obj.target/epoll/src/epoll.o -Wl,--end-group

View File

@ -1,21 +1,21 @@
cmd_Release/obj.target/epoll/src/epoll.o := g++ '-DNODE_GYP_MODULE_NAME=epoll' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/home/wn/.node-gyp/8.11.1/include/node -I/home/wn/.node-gyp/8.11.1/src -I/home/wn/.node-gyp/8.11.1/deps/uv/include -I/home/wn/.node-gyp/8.11.1/deps/v8/include -I../../nan -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -Wno-unused-local-typedefs -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF ./Release/.deps/Release/obj.target/epoll/src/epoll.o.d.raw -c -o Release/obj.target/epoll/src/epoll.o ../src/epoll.cc cmd_Release/obj.target/epoll/src/epoll.o := g++ '-DNODE_GYP_MODULE_NAME=epoll' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/home/pi/.node-gyp/8.9.3/include/node -I/home/pi/.node-gyp/8.9.3/src -I/home/pi/.node-gyp/8.9.3/deps/uv/include -I/home/pi/.node-gyp/8.9.3/deps/v8/include -I../../nan -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -Wno-unused-local-typedefs -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF ./Release/.deps/Release/obj.target/epoll/src/epoll.o.d.raw -c -o Release/obj.target/epoll/src/epoll.o ../src/epoll.cc
Release/obj.target/epoll/src/epoll.o: ../src/epoll.cc \ Release/obj.target/epoll/src/epoll.o: ../src/epoll.cc \
/home/wn/.node-gyp/8.11.1/include/node/uv.h \ /home/pi/.node-gyp/8.9.3/include/node/uv.h \
/home/wn/.node-gyp/8.11.1/include/node/uv-errno.h \ /home/pi/.node-gyp/8.9.3/include/node/uv-errno.h \
/home/wn/.node-gyp/8.11.1/include/node/uv-version.h \ /home/pi/.node-gyp/8.9.3/include/node/uv-version.h \
/home/wn/.node-gyp/8.11.1/include/node/uv-unix.h \ /home/pi/.node-gyp/8.9.3/include/node/uv-unix.h \
/home/wn/.node-gyp/8.11.1/include/node/uv-threadpool.h \ /home/pi/.node-gyp/8.9.3/include/node/uv-threadpool.h \
/home/wn/.node-gyp/8.11.1/include/node/uv-linux.h \ /home/pi/.node-gyp/8.9.3/include/node/uv-linux.h \
/home/wn/.node-gyp/8.11.1/include/node/v8.h \ /home/pi/.node-gyp/8.9.3/include/node/v8.h \
/home/wn/.node-gyp/8.11.1/include/node/v8-version.h \ /home/pi/.node-gyp/8.9.3/include/node/v8-version.h \
/home/wn/.node-gyp/8.11.1/include/node/v8config.h \ /home/pi/.node-gyp/8.9.3/include/node/v8config.h \
/home/wn/.node-gyp/8.11.1/include/node/node.h \ /home/pi/.node-gyp/8.9.3/include/node/node.h \
/home/wn/.node-gyp/8.11.1/include/node/v8.h \ /home/pi/.node-gyp/8.9.3/include/node/v8.h \
/home/wn/.node-gyp/8.11.1/include/node/node_version.h \ /home/pi/.node-gyp/8.9.3/include/node/node_version.h \
/home/wn/.node-gyp/8.11.1/include/node/node_object_wrap.h \ /home/pi/.node-gyp/8.9.3/include/node/node_object_wrap.h \
/home/wn/.node-gyp/8.11.1/include/node/node_version.h ../../nan/nan.h \ /home/pi/.node-gyp/8.9.3/include/node/node_version.h ../../nan/nan.h \
/home/wn/.node-gyp/8.11.1/include/node/node_buffer.h \ /home/pi/.node-gyp/8.9.3/include/node/node_buffer.h \
/home/wn/.node-gyp/8.11.1/include/node/node.h ../../nan/nan_callbacks.h \ /home/pi/.node-gyp/8.9.3/include/node/node.h ../../nan/nan_callbacks.h \
../../nan/nan_callbacks_12_inl.h ../../nan/nan_maybe_43_inl.h \ ../../nan/nan_callbacks_12_inl.h ../../nan/nan_maybe_43_inl.h \
../../nan/nan_converters.h ../../nan/nan_converters_43_inl.h \ ../../nan/nan_converters.h ../../nan/nan_converters_43_inl.h \
../../nan/nan_new.h ../../nan/nan_implementation_12_inl.h \ ../../nan/nan_new.h ../../nan/nan_implementation_12_inl.h \
@ -23,23 +23,23 @@ Release/obj.target/epoll/src/epoll.o: ../src/epoll.cc \
../../nan/nan_object_wrap.h ../../nan/nan_private.h \ ../../nan/nan_object_wrap.h ../../nan/nan_private.h \
../../nan/nan_typedarray_contents.h ../../nan/nan_json.h ../src/epoll.h ../../nan/nan_typedarray_contents.h ../../nan/nan_json.h ../src/epoll.h
../src/epoll.cc: ../src/epoll.cc:
/home/wn/.node-gyp/8.11.1/include/node/uv.h: /home/pi/.node-gyp/8.9.3/include/node/uv.h:
/home/wn/.node-gyp/8.11.1/include/node/uv-errno.h: /home/pi/.node-gyp/8.9.3/include/node/uv-errno.h:
/home/wn/.node-gyp/8.11.1/include/node/uv-version.h: /home/pi/.node-gyp/8.9.3/include/node/uv-version.h:
/home/wn/.node-gyp/8.11.1/include/node/uv-unix.h: /home/pi/.node-gyp/8.9.3/include/node/uv-unix.h:
/home/wn/.node-gyp/8.11.1/include/node/uv-threadpool.h: /home/pi/.node-gyp/8.9.3/include/node/uv-threadpool.h:
/home/wn/.node-gyp/8.11.1/include/node/uv-linux.h: /home/pi/.node-gyp/8.9.3/include/node/uv-linux.h:
/home/wn/.node-gyp/8.11.1/include/node/v8.h: /home/pi/.node-gyp/8.9.3/include/node/v8.h:
/home/wn/.node-gyp/8.11.1/include/node/v8-version.h: /home/pi/.node-gyp/8.9.3/include/node/v8-version.h:
/home/wn/.node-gyp/8.11.1/include/node/v8config.h: /home/pi/.node-gyp/8.9.3/include/node/v8config.h:
/home/wn/.node-gyp/8.11.1/include/node/node.h: /home/pi/.node-gyp/8.9.3/include/node/node.h:
/home/wn/.node-gyp/8.11.1/include/node/v8.h: /home/pi/.node-gyp/8.9.3/include/node/v8.h:
/home/wn/.node-gyp/8.11.1/include/node/node_version.h: /home/pi/.node-gyp/8.9.3/include/node/node_version.h:
/home/wn/.node-gyp/8.11.1/include/node/node_object_wrap.h: /home/pi/.node-gyp/8.9.3/include/node/node_object_wrap.h:
/home/wn/.node-gyp/8.11.1/include/node/node_version.h: /home/pi/.node-gyp/8.9.3/include/node/node_version.h:
../../nan/nan.h: ../../nan/nan.h:
/home/wn/.node-gyp/8.11.1/include/node/node_buffer.h: /home/pi/.node-gyp/8.9.3/include/node/node_buffer.h:
/home/wn/.node-gyp/8.11.1/include/node/node.h: /home/pi/.node-gyp/8.9.3/include/node/node.h:
../../nan/nan_callbacks.h: ../../nan/nan_callbacks.h:
../../nan/nan_callbacks_12_inl.h: ../../nan/nan_callbacks_12_inl.h:
../../nan/nan_maybe_43_inl.h: ../../nan/nan_maybe_43_inl.h:

Binary file not shown.

Binary file not shown.

Binary file not shown.

34
node_modules/epoll/build/config.gypi generated vendored
View File

@ -8,23 +8,26 @@
"libraries": [] "libraries": []
}, },
"variables": { "variables": {
"arm_float_abi": "hard",
"arm_fpu": "vfp",
"arm_thumb": 0,
"arm_version": "6",
"asan": 0, "asan": 0,
"coverage": "false", "coverage": "false",
"debug_devtools": "node", "debug_devtools": "node",
"debug_http2": "false", "debug_http2": "false",
"debug_nghttp2": "false", "debug_nghttp2": "false",
"force_dynamic_crt": 0, "force_dynamic_crt": 0,
"gas_version": "2.23", "gas_version": "2.24",
"host_arch": "x64", "host_arch": "arm",
"icu_data_file": "icudt60l.dat", "icu_data_file": "icudt59l.dat",
"icu_data_in": "../../deps/icu-small/source/data/in/icudt60l.dat", "icu_data_in": "../../deps/icu-small/source/data/in/icudt59l.dat",
"icu_endianness": "l", "icu_endianness": "l",
"icu_gyp_path": "tools/icu/icu-generic.gyp", "icu_gyp_path": "tools/icu/icu-generic.gyp",
"icu_locales": "en,root", "icu_locales": "en,root",
"icu_path": "deps/icu-small", "icu_path": "deps/icu-small",
"icu_small": "true", "icu_small": "true",
"icu_ver_major": "60", "icu_ver_major": "59",
"llvm_version": 0,
"node_byteorder": "little", "node_byteorder": "little",
"node_enable_d8": "false", "node_enable_d8": "false",
"node_enable_v8_vtunejit": "false", "node_enable_v8_vtunejit": "false",
@ -37,7 +40,6 @@
"node_shared_cares": "false", "node_shared_cares": "false",
"node_shared_http_parser": "false", "node_shared_http_parser": "false",
"node_shared_libuv": "false", "node_shared_libuv": "false",
"node_shared_nghttp2": "false",
"node_shared_openssl": "false", "node_shared_openssl": "false",
"node_shared_zlib": "false", "node_shared_zlib": "false",
"node_tag": "", "node_tag": "",
@ -52,7 +54,7 @@
"openssl_fips": "", "openssl_fips": "",
"openssl_no_asm": 0, "openssl_no_asm": 0,
"shlib_suffix": "so.57", "shlib_suffix": "so.57",
"target_arch": "x64", "target_arch": "arm",
"uv_parent_path": "/deps/uv/", "uv_parent_path": "/deps/uv/",
"uv_use_dtrace": "false", "uv_use_dtrace": "false",
"v8_enable_gdbjit": 0, "v8_enable_gdbjit": 0,
@ -65,13 +67,13 @@
"v8_trace_maps": 0, "v8_trace_maps": 0,
"v8_use_snapshot": "true", "v8_use_snapshot": "true",
"want_separate_host_toolset": 0, "want_separate_host_toolset": 0,
"nodedir": "/home/wn/.node-gyp/8.11.1", "nodedir": "/home/pi/.node-gyp/8.9.3",
"standalone_static_library": 1, "standalone_static_library": 1,
"cache_lock_stale": "60000", "cache_lock_stale": "60000",
"ham_it_up": "", "ham_it_up": "",
"legacy_bundling": "", "legacy_bundling": "",
"sign_git_tag": "", "sign_git_tag": "",
"user_agent": "npm/6.0.1 node/v8.11.1 linux x64", "user_agent": "npm/5.6.0 node/v8.9.3 linux arm",
"always_auth": "", "always_auth": "",
"bin_links": "true", "bin_links": "true",
"key": "", "key": "",
@ -93,7 +95,7 @@
"tag_version_prefix": "v", "tag_version_prefix": "v",
"cache_max": "Infinity", "cache_max": "Infinity",
"timing": "", "timing": "",
"userconfig": "/home/wn/.npmrc", "userconfig": "/home/pi/.npmrc",
"engine_strict": "", "engine_strict": "",
"init_author_name": "", "init_author_name": "",
"init_author_url": "", "init_author_url": "",
@ -108,7 +110,6 @@
"progress": "true", "progress": "true",
"https_proxy": "", "https_proxy": "",
"save_prod": "", "save_prod": "",
"audit": "true",
"cidr": "", "cidr": "",
"onload_script": "", "onload_script": "",
"sso_type": "oauth", "sso_type": "oauth",
@ -125,7 +126,7 @@
"save_optional": "", "save_optional": "",
"searchopts": "", "searchopts": "",
"versions": "", "versions": "",
"cache": "/home/wn/.npm", "cache": "/home/pi/.npm",
"send_metrics": "", "send_metrics": "",
"global_style": "", "global_style": "",
"ignore_scripts": "", "ignore_scripts": "",
@ -135,7 +136,6 @@
"node_gyp": "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js", "node_gyp": "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",
"prefer_offline": "", "prefer_offline": "",
"color": "true", "color": "true",
"no_proxy": "",
"fetch_retry_mintimeout": "10000", "fetch_retry_mintimeout": "10000",
"maxsockets": "50", "maxsockets": "50",
"offline": "", "offline": "",
@ -148,16 +148,16 @@
"cert": "", "cert": "",
"global": "", "global": "",
"link": "", "link": "",
"save": "true",
"access": "", "access": "",
"also": "", "also": "",
"save": "true",
"unicode": "true", "unicode": "true",
"long": "", "long": "",
"production": "", "production": "",
"searchlimit": "20", "searchlimit": "20",
"unsafe_perm": "true", "unsafe_perm": "true",
"auth_type": "legacy", "auth_type": "legacy",
"node_version": "8.11.1", "node_version": "8.9.3",
"tag": "latest", "tag": "latest",
"git_tag_version": "true", "git_tag_version": "true",
"commit_hooks": "true", "commit_hooks": "true",
@ -168,7 +168,7 @@
"strict_ssl": "true", "strict_ssl": "true",
"dev": "", "dev": "",
"globalconfig": "/usr/etc/npmrc", "globalconfig": "/usr/etc/npmrc",
"init_module": "/home/wn/.npm-init.js", "init_module": "/home/pi/.npm-init.js",
"parseable": "", "parseable": "",
"globalignorefile": "/usr/etc/npmignore", "globalignorefile": "/usr/etc/npmignore",
"cache_lock_retries": "10", "cache_lock_retries": "10",

View File

@ -21,7 +21,6 @@ CFLAGS_Debug := \
-Wall \ -Wall \
-Wextra \ -Wextra \
-Wno-unused-parameter \ -Wno-unused-parameter \
-m64 \
-Wno-unused-local-typedefs \ -Wno-unused-local-typedefs \
-g \ -g \
-O0 -O0
@ -36,10 +35,10 @@ CFLAGS_CC_Debug := \
-std=gnu++0x -std=gnu++0x
INCS_Debug := \ INCS_Debug := \
-I/home/wn/.node-gyp/8.11.1/include/node \ -I/home/pi/.node-gyp/8.9.3/include/node \
-I/home/wn/.node-gyp/8.11.1/src \ -I/home/pi/.node-gyp/8.9.3/src \
-I/home/wn/.node-gyp/8.11.1/deps/uv/include \ -I/home/pi/.node-gyp/8.9.3/deps/uv/include \
-I/home/wn/.node-gyp/8.11.1/deps/v8/include \ -I/home/pi/.node-gyp/8.9.3/deps/v8/include \
-I$(srcdir)/../nan -I$(srcdir)/../nan
DEFS_Release := \ DEFS_Release := \
@ -58,7 +57,6 @@ CFLAGS_Release := \
-Wall \ -Wall \
-Wextra \ -Wextra \
-Wno-unused-parameter \ -Wno-unused-parameter \
-m64 \
-Wno-unused-local-typedefs \ -Wno-unused-local-typedefs \
-O3 \ -O3 \
-fno-omit-frame-pointer -fno-omit-frame-pointer
@ -73,10 +71,10 @@ CFLAGS_CC_Release := \
-std=gnu++0x -std=gnu++0x
INCS_Release := \ INCS_Release := \
-I/home/wn/.node-gyp/8.11.1/include/node \ -I/home/pi/.node-gyp/8.9.3/include/node \
-I/home/wn/.node-gyp/8.11.1/src \ -I/home/pi/.node-gyp/8.9.3/src \
-I/home/wn/.node-gyp/8.11.1/deps/uv/include \ -I/home/pi/.node-gyp/8.9.3/deps/uv/include \
-I/home/wn/.node-gyp/8.11.1/deps/v8/include \ -I/home/pi/.node-gyp/8.9.3/deps/v8/include \
-I$(srcdir)/../nan -I$(srcdir)/../nan
OBJS := \ OBJS := \
@ -108,13 +106,11 @@ $(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.cc FORCE_DO_CMD
### Rules for final target. ### Rules for final target.
LDFLAGS_Debug := \ LDFLAGS_Debug := \
-pthread \ -pthread \
-rdynamic \ -rdynamic
-m64
LDFLAGS_Release := \ LDFLAGS_Release := \
-pthread \ -pthread \
-rdynamic \ -rdynamic
-m64
LIBS := LIBS :=

23
node_modules/epoll/package.json generated vendored
View File

@ -1,39 +1,42 @@
{ {
"_from": "epoll@^2.0.1", "_args": [
[
"epoll@2.0.1",
"/opt/services/PiAlive"
]
],
"_from": "epoll@2.0.1",
"_id": "epoll@2.0.1", "_id": "epoll@2.0.1",
"_inBundle": false, "_inBundle": false,
"_integrity": "sha512-BkaCu6dpfGZqiGockN6bf0pQYUdHNjKOWflOMuYNB+JnHq+SgpBQyWE7jWOWExsGVGp99A12R16WpoBZV/0UwQ==", "_integrity": "sha512-BkaCu6dpfGZqiGockN6bf0pQYUdHNjKOWflOMuYNB+JnHq+SgpBQyWE7jWOWExsGVGp99A12R16WpoBZV/0UwQ==",
"_location": "/epoll", "_location": "/epoll",
"_phantomChildren": {}, "_phantomChildren": {},
"_requested": { "_requested": {
"type": "range", "type": "version",
"registry": true, "registry": true,
"raw": "epoll@^2.0.1", "raw": "epoll@2.0.1",
"name": "epoll", "name": "epoll",
"escapedName": "epoll", "escapedName": "epoll",
"rawSpec": "^2.0.1", "rawSpec": "2.0.1",
"saveSpec": null, "saveSpec": null,
"fetchSpec": "^2.0.1" "fetchSpec": "2.0.1"
}, },
"_requiredBy": [ "_requiredBy": [
"/onoff" "/onoff"
], ],
"_resolved": "https://registry.npmjs.org/epoll/-/epoll-2.0.1.tgz", "_resolved": "https://registry.npmjs.org/epoll/-/epoll-2.0.1.tgz",
"_shasum": "4742f963048fab6ad4347f678b0e9e38d58a417e", "_spec": "2.0.1",
"_spec": "epoll@^2.0.1", "_where": "/opt/services/PiAlive",
"_where": "/home/wn/workspace-node/PiAlive/node_modules/onoff",
"author": { "author": {
"name": "fivdi" "name": "fivdi"
}, },
"bugs": { "bugs": {
"url": "https://github.com/fivdi/epoll/issues" "url": "https://github.com/fivdi/epoll/issues"
}, },
"bundleDependencies": false,
"dependencies": { "dependencies": {
"bindings": "^1.3.0", "bindings": "^1.3.0",
"nan": "^2.10.0" "nan": "^2.10.0"
}, },
"deprecated": false,
"description": "A low-level Node.js binding for the Linux epoll API", "description": "A low-level Node.js binding for the Linux epoll API",
"directories": { "directories": {
"example": "example", "example": "example",

View File

@ -1,28 +1,33 @@
{ {
"_from": "find-replace@^2.0.1", "_args": [
[
"find-replace@2.0.1",
"/opt/services/PiAlive"
]
],
"_from": "find-replace@2.0.1",
"_id": "find-replace@2.0.1", "_id": "find-replace@2.0.1",
"_inBundle": false, "_inBundle": false,
"_integrity": "sha512-LzDo3Fpa30FLIBsh6DCDnMN1KW2g4QKkqKmejlImgWY67dDFPX/x9Kh/op/GK522DchQXEvDi/wD48HKW49XOQ==", "_integrity": "sha512-LzDo3Fpa30FLIBsh6DCDnMN1KW2g4QKkqKmejlImgWY67dDFPX/x9Kh/op/GK522DchQXEvDi/wD48HKW49XOQ==",
"_location": "/find-replace", "_location": "/find-replace",
"_phantomChildren": {}, "_phantomChildren": {},
"_requested": { "_requested": {
"type": "range", "type": "version",
"registry": true, "registry": true,
"raw": "find-replace@^2.0.1", "raw": "find-replace@2.0.1",
"name": "find-replace", "name": "find-replace",
"escapedName": "find-replace", "escapedName": "find-replace",
"rawSpec": "^2.0.1", "rawSpec": "2.0.1",
"saveSpec": null, "saveSpec": null,
"fetchSpec": "^2.0.1" "fetchSpec": "2.0.1"
}, },
"_requiredBy": [ "_requiredBy": [
"/argv-tools", "/argv-tools",
"/command-line-args" "/command-line-args"
], ],
"_resolved": "https://registry.npmjs.org/find-replace/-/find-replace-2.0.1.tgz", "_resolved": "https://registry.npmjs.org/find-replace/-/find-replace-2.0.1.tgz",
"_shasum": "6d9683a7ca20f8f9aabeabad07e4e2580f528550", "_spec": "2.0.1",
"_spec": "find-replace@^2.0.1", "_where": "/opt/services/PiAlive",
"_where": "/home/wn/workspace-node/PiAlive/node_modules/command-line-args",
"author": { "author": {
"name": "Lloyd Brookes", "name": "Lloyd Brookes",
"email": "75pound@gmail.com" "email": "75pound@gmail.com"
@ -30,12 +35,10 @@
"bugs": { "bugs": {
"url": "https://github.com/75lb/find-replace/issues" "url": "https://github.com/75lb/find-replace/issues"
}, },
"bundleDependencies": false,
"dependencies": { "dependencies": {
"array-back": "^2.0.0", "array-back": "^2.0.0",
"test-value": "^3.0.0" "test-value": "^3.0.0"
}, },
"deprecated": false,
"description": "Find and either replace or remove items from an array", "description": "Find and either replace or remove items from an array",
"devDependencies": { "devDependencies": {
"jsdoc-to-markdown": "^3.0.2", "jsdoc-to-markdown": "^3.0.2",

View File

@ -1,27 +1,32 @@
{ {
"_from": "lodash.camelcase@^4.3.0", "_args": [
[
"lodash.camelcase@4.3.0",
"/opt/services/PiAlive"
]
],
"_from": "lodash.camelcase@4.3.0",
"_id": "lodash.camelcase@4.3.0", "_id": "lodash.camelcase@4.3.0",
"_inBundle": false, "_inBundle": false,
"_integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=", "_integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=",
"_location": "/lodash.camelcase", "_location": "/lodash.camelcase",
"_phantomChildren": {}, "_phantomChildren": {},
"_requested": { "_requested": {
"type": "range", "type": "version",
"registry": true, "registry": true,
"raw": "lodash.camelcase@^4.3.0", "raw": "lodash.camelcase@4.3.0",
"name": "lodash.camelcase", "name": "lodash.camelcase",
"escapedName": "lodash.camelcase", "escapedName": "lodash.camelcase",
"rawSpec": "^4.3.0", "rawSpec": "4.3.0",
"saveSpec": null, "saveSpec": null,
"fetchSpec": "^4.3.0" "fetchSpec": "4.3.0"
}, },
"_requiredBy": [ "_requiredBy": [
"/command-line-args" "/command-line-args"
], ],
"_resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", "_resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz",
"_shasum": "b28aa6288a2b9fc651035c7711f65ab6190331a6", "_spec": "4.3.0",
"_spec": "lodash.camelcase@^4.3.0", "_where": "/opt/services/PiAlive",
"_where": "/home/wn/workspace-node/PiAlive/node_modules/command-line-args",
"author": { "author": {
"name": "John-David Dalton", "name": "John-David Dalton",
"email": "john.david.dalton@gmail.com", "email": "john.david.dalton@gmail.com",
@ -30,7 +35,6 @@
"bugs": { "bugs": {
"url": "https://github.com/lodash/lodash/issues" "url": "https://github.com/lodash/lodash/issues"
}, },
"bundleDependencies": false,
"contributors": [ "contributors": [
{ {
"name": "John-David Dalton", "name": "John-David Dalton",
@ -48,7 +52,6 @@
"url": "https://mathiasbynens.be/" "url": "https://mathiasbynens.be/"
} }
], ],
"deprecated": false,
"description": "The lodash method `_.camelCase` exported as a module.", "description": "The lodash method `_.camelCase` exported as a module.",
"homepage": "https://lodash.com/", "homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg", "icon": "https://lodash.com/icon.svg",

View File

@ -1,27 +1,32 @@
{ {
"_from": "lodash.debounce@^4.0.8", "_args": [
[
"lodash.debounce@4.0.8",
"/opt/services/PiAlive"
]
],
"_from": "lodash.debounce@4.0.8",
"_id": "lodash.debounce@4.0.8", "_id": "lodash.debounce@4.0.8",
"_inBundle": false, "_inBundle": false,
"_integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=", "_integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=",
"_location": "/lodash.debounce", "_location": "/lodash.debounce",
"_phantomChildren": {}, "_phantomChildren": {},
"_requested": { "_requested": {
"type": "range", "type": "version",
"registry": true, "registry": true,
"raw": "lodash.debounce@^4.0.8", "raw": "lodash.debounce@4.0.8",
"name": "lodash.debounce", "name": "lodash.debounce",
"escapedName": "lodash.debounce", "escapedName": "lodash.debounce",
"rawSpec": "^4.0.8", "rawSpec": "4.0.8",
"saveSpec": null, "saveSpec": null,
"fetchSpec": "^4.0.8" "fetchSpec": "4.0.8"
}, },
"_requiredBy": [ "_requiredBy": [
"/onoff" "/onoff"
], ],
"_resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", "_resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz",
"_shasum": "82d79bff30a67c4005ffd5e2515300ad9ca4d7af", "_spec": "4.0.8",
"_spec": "lodash.debounce@^4.0.8", "_where": "/opt/services/PiAlive",
"_where": "/home/wn/workspace-node/PiAlive/node_modules/onoff",
"author": { "author": {
"name": "John-David Dalton", "name": "John-David Dalton",
"email": "john.david.dalton@gmail.com", "email": "john.david.dalton@gmail.com",
@ -30,7 +35,6 @@
"bugs": { "bugs": {
"url": "https://github.com/lodash/lodash/issues" "url": "https://github.com/lodash/lodash/issues"
}, },
"bundleDependencies": false,
"contributors": [ "contributors": [
{ {
"name": "John-David Dalton", "name": "John-David Dalton",
@ -48,7 +52,6 @@
"url": "https://mathiasbynens.be/" "url": "https://mathiasbynens.be/"
} }
], ],
"deprecated": false,
"description": "The lodash method `_.debounce` exported as a module.", "description": "The lodash method `_.debounce` exported as a module.",
"homepage": "https://lodash.com/", "homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg", "icon": "https://lodash.com/icon.svg",

27
node_modules/moment/package.json generated vendored
View File

@ -1,28 +1,33 @@
{ {
"_from": "moment", "_args": [
[
"moment@2.22.1",
"/opt/services/PiAlive"
]
],
"_from": "moment@2.22.1",
"_id": "moment@2.22.1", "_id": "moment@2.22.1",
"_inBundle": false, "_inBundle": false,
"_integrity": "sha512-shJkRTSebXvsVqk56I+lkb2latjBs8I+pc2TzWc545y2iFnSjm7Wg0QMh+ZWcdSLQyGEau5jI8ocnmkyTgr9YQ==", "_integrity": "sha512-shJkRTSebXvsVqk56I+lkb2latjBs8I+pc2TzWc545y2iFnSjm7Wg0QMh+ZWcdSLQyGEau5jI8ocnmkyTgr9YQ==",
"_location": "/moment", "_location": "/moment",
"_phantomChildren": {}, "_phantomChildren": {},
"_requested": { "_requested": {
"type": "tag", "type": "version",
"registry": true, "registry": true,
"raw": "moment", "raw": "moment@2.22.1",
"name": "moment", "name": "moment",
"escapedName": "moment", "escapedName": "moment",
"rawSpec": "", "rawSpec": "2.22.1",
"saveSpec": null, "saveSpec": null,
"fetchSpec": "latest" "fetchSpec": "2.22.1"
}, },
"_requiredBy": [ "_requiredBy": [
"#USER", "/",
"/" "/@types/moment"
], ],
"_resolved": "https://registry.npmjs.org/moment/-/moment-2.22.1.tgz", "_resolved": "https://registry.npmjs.org/moment/-/moment-2.22.1.tgz",
"_shasum": "529a2e9bf973f259c9643d237fda84de3a26e8ad", "_spec": "2.22.1",
"_spec": "moment", "_where": "/opt/services/PiAlive",
"_where": "/home/wn/workspace-node/PiAlive",
"author": { "author": {
"name": "Iskren Ivov Chernev", "name": "Iskren Ivov Chernev",
"email": "iskren.chernev@gmail.com", "email": "iskren.chernev@gmail.com",
@ -31,7 +36,6 @@
"bugs": { "bugs": {
"url": "https://github.com/moment/moment/issues" "url": "https://github.com/moment/moment/issues"
}, },
"bundleDependencies": false,
"contributors": [ "contributors": [
{ {
"name": "Tim Wood", "name": "Tim Wood",
@ -58,7 +62,6 @@
"url": "https://github.com/oire" "url": "https://github.com/oire"
} }
], ],
"deprecated": false,
"description": "Parse, validate, manipulate, and display dates", "description": "Parse, validate, manipulate, and display dates",
"devDependencies": { "devDependencies": {
"benchmark": "latest", "benchmark": "latest",

23
node_modules/nan/package.json generated vendored
View File

@ -1,31 +1,35 @@
{ {
"_from": "nan@^2.10.0", "_args": [
[
"nan@2.10.0",
"/opt/services/PiAlive"
]
],
"_from": "nan@2.10.0",
"_id": "nan@2.10.0", "_id": "nan@2.10.0",
"_inBundle": false, "_inBundle": false,
"_integrity": "sha512-bAdJv7fBLhWC+/Bls0Oza+mvTaNQtP+1RyhhhvD95pgUJz6XM5IzgmxOkItJ9tkoCiplvAnXI1tNmmUD/eScyA==", "_integrity": "sha512-bAdJv7fBLhWC+/Bls0Oza+mvTaNQtP+1RyhhhvD95pgUJz6XM5IzgmxOkItJ9tkoCiplvAnXI1tNmmUD/eScyA==",
"_location": "/nan", "_location": "/nan",
"_phantomChildren": {}, "_phantomChildren": {},
"_requested": { "_requested": {
"type": "range", "type": "version",
"registry": true, "registry": true,
"raw": "nan@^2.10.0", "raw": "nan@2.10.0",
"name": "nan", "name": "nan",
"escapedName": "nan", "escapedName": "nan",
"rawSpec": "^2.10.0", "rawSpec": "2.10.0",
"saveSpec": null, "saveSpec": null,
"fetchSpec": "^2.10.0" "fetchSpec": "2.10.0"
}, },
"_requiredBy": [ "_requiredBy": [
"/epoll" "/epoll"
], ],
"_resolved": "https://registry.npmjs.org/nan/-/nan-2.10.0.tgz", "_resolved": "https://registry.npmjs.org/nan/-/nan-2.10.0.tgz",
"_shasum": "96d0cd610ebd58d4b4de9cc0c6828cda99c7548f", "_spec": "2.10.0",
"_spec": "nan@^2.10.0", "_where": "/opt/services/PiAlive",
"_where": "/home/wn/workspace-node/PiAlive/node_modules/epoll",
"bugs": { "bugs": {
"url": "https://github.com/nodejs/nan/issues" "url": "https://github.com/nodejs/nan/issues"
}, },
"bundleDependencies": false,
"contributors": [ "contributors": [
{ {
"name": "Rod Vagg", "name": "Rod Vagg",
@ -68,7 +72,6 @@
"url": "https://github.com/mkrufky" "url": "https://github.com/mkrufky"
} }
], ],
"deprecated": false,
"description": "Native Abstractions for Node.js: C++ header for Node 0.8 -> 9 compatibility", "description": "Native Abstractions for Node.js: C++ header for Node 0.8 -> 9 compatibility",
"devDependencies": { "devDependencies": {
"bindings": "~1.2.1", "bindings": "~1.2.1",

24
node_modules/onoff/package.json generated vendored
View File

@ -1,40 +1,42 @@
{ {
"_from": "onoff", "_args": [
[
"onoff@3.1.0",
"/opt/services/PiAlive"
]
],
"_from": "onoff@3.1.0",
"_id": "onoff@3.1.0", "_id": "onoff@3.1.0",
"_inBundle": false, "_inBundle": false,
"_integrity": "sha512-5hD6y+AB7vW7Pb30Urb9oGVkxhtG1MdoJaEMGsKbCLzpInKdQJEcvbqOjQ8DV6N9r+acPErfz+Veb+v6VidE9A==", "_integrity": "sha512-5hD6y+AB7vW7Pb30Urb9oGVkxhtG1MdoJaEMGsKbCLzpInKdQJEcvbqOjQ8DV6N9r+acPErfz+Veb+v6VidE9A==",
"_location": "/onoff", "_location": "/onoff",
"_phantomChildren": {}, "_phantomChildren": {},
"_requested": { "_requested": {
"type": "tag", "type": "version",
"registry": true, "registry": true,
"raw": "onoff", "raw": "onoff@3.1.0",
"name": "onoff", "name": "onoff",
"escapedName": "onoff", "escapedName": "onoff",
"rawSpec": "", "rawSpec": "3.1.0",
"saveSpec": null, "saveSpec": null,
"fetchSpec": "latest" "fetchSpec": "3.1.0"
}, },
"_requiredBy": [ "_requiredBy": [
"#USER",
"/" "/"
], ],
"_resolved": "https://registry.npmjs.org/onoff/-/onoff-3.1.0.tgz", "_resolved": "https://registry.npmjs.org/onoff/-/onoff-3.1.0.tgz",
"_shasum": "90bfb4d689c60842086b0d237d36cd9b84fffddf", "_spec": "3.1.0",
"_spec": "onoff", "_where": "/opt/services/PiAlive",
"_where": "/home/wn/workspace-node/PiAlive",
"author": { "author": {
"name": "fivdi" "name": "fivdi"
}, },
"bugs": { "bugs": {
"url": "https://github.com/fivdi/onoff/issues" "url": "https://github.com/fivdi/onoff/issues"
}, },
"bundleDependencies": false,
"dependencies": { "dependencies": {
"epoll": "^2.0.1", "epoll": "^2.0.1",
"lodash.debounce": "^4.0.8" "lodash.debounce": "^4.0.8"
}, },
"deprecated": false,
"description": "GPIO access and interrupt detection with Node.js", "description": "GPIO access and interrupt detection with Node.js",
"directories": { "directories": {
"example": "examples", "example": "examples",

23
node_modules/test-value/package.json generated vendored
View File

@ -1,27 +1,32 @@
{ {
"_from": "test-value@^3.0.0", "_args": [
[
"test-value@3.0.0",
"/opt/services/PiAlive"
]
],
"_from": "test-value@3.0.0",
"_id": "test-value@3.0.0", "_id": "test-value@3.0.0",
"_inBundle": false, "_inBundle": false,
"_integrity": "sha512-sVACdAWcZkSU9x7AOmJo5TqE+GyNJknHaHsMrR6ZnhjVlVN9Yx6FjHrsKZ3BjIpPCT68zYesPWkakrNupwfOTQ==", "_integrity": "sha512-sVACdAWcZkSU9x7AOmJo5TqE+GyNJknHaHsMrR6ZnhjVlVN9Yx6FjHrsKZ3BjIpPCT68zYesPWkakrNupwfOTQ==",
"_location": "/test-value", "_location": "/test-value",
"_phantomChildren": {}, "_phantomChildren": {},
"_requested": { "_requested": {
"type": "range", "type": "version",
"registry": true, "registry": true,
"raw": "test-value@^3.0.0", "raw": "test-value@3.0.0",
"name": "test-value", "name": "test-value",
"escapedName": "test-value", "escapedName": "test-value",
"rawSpec": "^3.0.0", "rawSpec": "3.0.0",
"saveSpec": null, "saveSpec": null,
"fetchSpec": "^3.0.0" "fetchSpec": "3.0.0"
}, },
"_requiredBy": [ "_requiredBy": [
"/find-replace" "/find-replace"
], ],
"_resolved": "https://registry.npmjs.org/test-value/-/test-value-3.0.0.tgz", "_resolved": "https://registry.npmjs.org/test-value/-/test-value-3.0.0.tgz",
"_shasum": "9168c062fab11a86b8d444dd968bb4b73851ce92", "_spec": "3.0.0",
"_spec": "test-value@^3.0.0", "_where": "/opt/services/PiAlive",
"_where": "/home/wn/workspace-node/PiAlive/node_modules/find-replace",
"author": { "author": {
"name": "Lloyd Brookes", "name": "Lloyd Brookes",
"email": "75pound@gmail.com" "email": "75pound@gmail.com"
@ -29,12 +34,10 @@
"bugs": { "bugs": {
"url": "https://github.com/75lb/test-value/issues" "url": "https://github.com/75lb/test-value/issues"
}, },
"bundleDependencies": false,
"dependencies": { "dependencies": {
"array-back": "^2.0.0", "array-back": "^2.0.0",
"typical": "^2.6.1" "typical": "^2.6.1"
}, },
"deprecated": false,
"description": "Test a value in a variety of ways", "description": "Test a value in a variety of ways",
"devDependencies": { "devDependencies": {
"jsdoc-to-markdown": "^3.0.2", "jsdoc-to-markdown": "^3.0.2",

27
node_modules/typescript/package.json generated vendored
View File

@ -1,28 +1,33 @@
{ {
"_from": "typescript", "_args": [
[
"typescript@2.8.3",
"/opt/services/PiAlive"
]
],
"_development": true,
"_from": "typescript@2.8.3",
"_id": "typescript@2.8.3", "_id": "typescript@2.8.3",
"_inBundle": false, "_inBundle": false,
"_integrity": "sha512-K7g15Bb6Ra4lKf7Iq2l/I5/En+hLIHmxWZGq3D4DIRNFxMNV6j2SHSvDOqs2tGd4UvD/fJvrwopzQXjLrT7Itw==", "_integrity": "sha512-K7g15Bb6Ra4lKf7Iq2l/I5/En+hLIHmxWZGq3D4DIRNFxMNV6j2SHSvDOqs2tGd4UvD/fJvrwopzQXjLrT7Itw==",
"_location": "/typescript", "_location": "/typescript",
"_phantomChildren": {}, "_phantomChildren": {},
"_requested": { "_requested": {
"type": "tag", "type": "version",
"registry": true, "registry": true,
"raw": "typescript", "raw": "typescript@2.8.3",
"name": "typescript", "name": "typescript",
"escapedName": "typescript", "escapedName": "typescript",
"rawSpec": "", "rawSpec": "2.8.3",
"saveSpec": null, "saveSpec": null,
"fetchSpec": "latest" "fetchSpec": "2.8.3"
}, },
"_requiredBy": [ "_requiredBy": [
"#DEV:/", "#DEV:/"
"#USER"
], ],
"_resolved": "https://registry.npmjs.org/typescript/-/typescript-2.8.3.tgz", "_resolved": "https://registry.npmjs.org/typescript/-/typescript-2.8.3.tgz",
"_shasum": "5d817f9b6f31bb871835f4edf0089f21abe6c170", "_spec": "2.8.3",
"_spec": "typescript", "_where": "/opt/services/PiAlive",
"_where": "/home/wn/workspace-node/PiAlive",
"author": { "author": {
"name": "Microsoft Corp." "name": "Microsoft Corp."
}, },
@ -38,8 +43,6 @@
"bugs": { "bugs": {
"url": "https://github.com/Microsoft/TypeScript/issues" "url": "https://github.com/Microsoft/TypeScript/issues"
}, },
"bundleDependencies": false,
"deprecated": false,
"description": "TypeScript is a language for application scale JavaScript development", "description": "TypeScript is a language for application scale JavaScript development",
"devDependencies": { "devDependencies": {
"@types/browserify": "latest", "@types/browserify": "latest",

23
node_modules/typical/package.json generated vendored
View File

@ -1,19 +1,25 @@
{ {
"_from": "typical@^2.6.1", "_args": [
[
"typical@2.6.1",
"/opt/services/PiAlive"
]
],
"_from": "typical@2.6.1",
"_id": "typical@2.6.1", "_id": "typical@2.6.1",
"_inBundle": false, "_inBundle": false,
"_integrity": "sha1-XAgOXWYcu+OCWdLnCjxyU+hziB0=", "_integrity": "sha1-XAgOXWYcu+OCWdLnCjxyU+hziB0=",
"_location": "/typical", "_location": "/typical",
"_phantomChildren": {}, "_phantomChildren": {},
"_requested": { "_requested": {
"type": "range", "type": "version",
"registry": true, "registry": true,
"raw": "typical@^2.6.1", "raw": "typical@2.6.1",
"name": "typical", "name": "typical",
"escapedName": "typical", "escapedName": "typical",
"rawSpec": "^2.6.1", "rawSpec": "2.6.1",
"saveSpec": null, "saveSpec": null,
"fetchSpec": "^2.6.1" "fetchSpec": "2.6.1"
}, },
"_requiredBy": [ "_requiredBy": [
"/array-back", "/array-back",
@ -21,9 +27,8 @@
"/test-value" "/test-value"
], ],
"_resolved": "https://registry.npmjs.org/typical/-/typical-2.6.1.tgz", "_resolved": "https://registry.npmjs.org/typical/-/typical-2.6.1.tgz",
"_shasum": "5c080e5d661cbbe38259d2e70a3c7253e873881d", "_spec": "2.6.1",
"_spec": "typical@^2.6.1", "_where": "/opt/services/PiAlive",
"_where": "/home/wn/workspace-node/PiAlive/node_modules/command-line-args",
"author": { "author": {
"name": "Lloyd Brookes", "name": "Lloyd Brookes",
"email": "75pound@gmail.com" "email": "75pound@gmail.com"
@ -31,8 +36,6 @@
"bugs": { "bugs": {
"url": "https://github.com/75lb/typical/issues" "url": "https://github.com/75lb/typical/issues"
}, },
"bundleDependencies": false,
"deprecated": false,
"description": "Robust Javascript type-checking", "description": "Robust Javascript type-checking",
"devDependencies": { "devDependencies": {
"core-assert": "^0.2.1", "core-assert": "^0.2.1",

6
package-lock.json generated
View File

@ -4,6 +4,12 @@
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {
"@types/command-line-args": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/@types/command-line-args/-/command-line-args-5.0.0.tgz",
"integrity": "sha512-4eOPXyn5DmP64MCMF8ePDvdlvlzt2a+F8ZaVjqmh2yFCpGjc1kI3kGnCFYX9SCsGTjQcWIyVZ86IHCEyjy/MNg==",
"dev": true
},
"@types/moment": { "@types/moment": {
"version": "2.13.0", "version": "2.13.0",
"resolved": "https://registry.npmjs.org/@types/moment/-/moment-2.13.0.tgz", "resolved": "https://registry.npmjs.org/@types/moment/-/moment-2.13.0.tgz",

View File

@ -16,6 +16,7 @@
"onoff": "^3.1.0" "onoff": "^3.1.0"
}, },
"devDependencies": { "devDependencies": {
"@types/command-line-args": "^5.0.0",
"@types/moment": "^2.13.0", "@types/moment": "^2.13.0",
"@types/node": "^10.1.0", "@types/node": "^10.1.0",
"@types/onoff": "0.0.27", "@types/onoff": "0.0.27",

View File

@ -8,15 +8,15 @@ const LED2 = new gpio.Gpio(26, 'out')
log.info("PiAlive starting") log.info("PiAlive starting")
LED1.writeSync(0) LED1.writeSync(0)
LED2.writeSync(1) LED2.writeSync(0)
let heartbeatTimer = setInterval(() => { let heartbeatTimer = setInterval(() => {
LED1.writeSync(1) LED1.writeSync(1)
setInterval(() => { setTimeout(() => {
LED1.writeSync(0) LED1.writeSync(0)
}, 100) }, 100)
}, config.dict.heartbeatIntervall) }, config.dict.heartbeatInterval)