From cc438deda7f14a2846ff43f3debf7829a79ef450 Mon Sep 17 00:00:00 2001 From: watsonb8 Date: Thu, 10 Dec 2020 19:43:47 -0500 Subject: [PATCH] Update --- package-lock.json | 5 +++-- package.json | 50 +++++++++++++++++++++++------------------------ src/index.ts | 3 +-- tsconfig.json | 11 +++-------- 4 files changed, 32 insertions(+), 37 deletions(-) diff --git a/package-lock.json b/package-lock.json index 057340b..4b2d2bf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,8 +16,9 @@ "integrity": "sha1-sffn/HPSXn/R1FWtyU4UODAYK1o=" }, "node-common": { - "version": "git+ssh://git@thebword.ddns.net:3122/watsonb8/node-common.git#3ee1400be94851335e822916861ea2eddb9e344f", - "from": "git+ssh://git@thebword.ddns.net:3122/watsonb8/node-common.git" + "version": "git+ssh://git@thebword.ddns.net:3122/watsonb8/node-common.git#d9d654ca19ab3be9ba403eaef1c952b1168e197e", + "from": "git+ssh://git@thebword.ddns.net:3122/watsonb8/node-common.git", + "dev": true } } } diff --git a/package.json b/package.json index 274f0aa..851895d 100644 --- a/package.json +++ b/package.json @@ -1,27 +1,27 @@ { - "name": "rtsp-stream", - "version": "1.0.0", - "description": "", - "main": "index.ts", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1", - "build": "tsc --build" - }, - "repository": { - "type": "git", - "url": "ssh://git@thebword.ddns.net:3122/watsonb8/rtsp-stream.git" - }, - "keywords": [ - "rtsp", - "typescript" - ], - "author": "Brandon Watson", - "license": "ISC", - "dependencies": { - "child_process": "^1.0.2", - "node-common": "git+ssh://git@thebword.ddns.net:3122/watsonb8/node-common.git" - }, - "devDependencies": { - "@types/node": "^14.14.6" - } + "name": "rtsp-stream", + "version": "1.0.0", + "description": "", + "main": "index.ts", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1", + "build": "tsc --build" + }, + "repository": { + "type": "git", + "url": "ssh://git@thebword.ddns.net:3122/watsonb8/rtsp-stream.git" + }, + "keywords": [ + "rtsp", + "typescript" + ], + "author": "Brandon Watson", + "license": "ISC", + "dependencies": { + "child_process": "^1.0.2" + }, + "devDependencies": { + "@types/node": "^14.14.6", + "node-common": "git+ssh://git@thebword.ddns.net:3122/watsonb8/node-common.git" + } } diff --git a/src/index.ts b/src/index.ts index 4c3397d..e4f2864 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,8 +1,7 @@ import { ChildProcess, spawn } from "child_process"; -import { EventEmitter } from "events"; import { Writable } from "stream"; import { IOptions } from "./options"; -import { Event } from "common/events"; +import { Event } from "node_modules/node-common/lib/events/event"; const ef1 = "ff"; const ef2 = "d9"; diff --git a/tsconfig.json b/tsconfig.json index 3195fa2..01a9434 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,8 +8,8 @@ // "allowJs": true, /* Allow javascript files to be compiled. */ // "checkJs": true, /* Report errors in .js files. */ // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */ - // "declaration": true, /* Generates corresponding '.d.ts' file. */ - // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */ + "declaration": true /* Generates corresponding '.d.ts' file. */, + "declarationMap": true /* Generates a sourcemap for each corresponding '.d.ts' file. */, "sourceMap": true /* Generates corresponding '.map' file. */, // "outFile": "./", /* Concatenate and emit output to single file. */ "outDir": "./lib" /* Redirect output structure to the directory. */, @@ -58,10 +58,5 @@ // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */ /* Advanced Options */ "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */ - }, - "references": [ - { - "path": "./node_modules/node-common/tsconfig.json" - } - ] + } }