From 0917ce34c66d5bd4c30e42a3907da2aee8ebf4fa Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Sat, 8 Jun 2019 11:39:16 -0700 Subject: [PATCH] Move CharWidth.api into node module --- src/{ => node}/CharWidth.api.ts | 0 src/node/tsconfig.json | 17 +++++++++++++++++ src/tsconfig.json | 3 ++- 3 files changed, 19 insertions(+), 1 deletion(-) rename src/{ => node}/CharWidth.api.ts (100%) create mode 100644 src/node/tsconfig.json diff --git a/src/CharWidth.api.ts b/src/node/CharWidth.api.ts similarity index 100% rename from src/CharWidth.api.ts rename to src/node/CharWidth.api.ts diff --git a/src/node/tsconfig.json b/src/node/tsconfig.json new file mode 100644 index 00000000..8a67624b --- /dev/null +++ b/src/node/tsconfig.json @@ -0,0 +1,17 @@ +{ + "extends": "../tsconfig-library-base", + "compilerOptions": { + "lib": [ + "dom", + "es6", + ], + "outDir": "../../out", + "types": [ + "../../node_modules/@types/mocha" + ] + }, + "include": [ + "./**/*", + "../../typings/xterm.d.ts" + ] +} diff --git a/src/tsconfig.json b/src/tsconfig.json index a42c8338..7a7449a1 100644 --- a/src/tsconfig.json +++ b/src/tsconfig.json @@ -31,6 +31,7 @@ "references": [ { "path": "./common" }, { "path": "./core" }, - { "path": "./ui" } + { "path": "./ui" }, + { "path": "./node" } ] }