From 0118e26a0b7e3e9d4dada09ec1b4f1f1ba9beb8e Mon Sep 17 00:00:00 2001 From: Lukas Tetzlaff Date: Thu, 2 Nov 2017 02:39:50 +0100 Subject: [PATCH] Move index.ts and adapt settings to folders --- .gitignore | 5 ++--- index.ts => src/index.ts | 0 tsconfig.json | 10 +++++----- 3 files changed, 7 insertions(+), 8 deletions(-) rename index.ts => src/index.ts (100%) diff --git a/.gitignore b/.gitignore index fee9086..85f3332 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ node_modules yarn.lock -index.js -index.d.ts -index.js.map \ No newline at end of file +dist/**/*.js* +dist/**/*.d.ts \ No newline at end of file diff --git a/index.ts b/src/index.ts similarity index 100% rename from index.ts rename to src/index.ts diff --git a/tsconfig.json b/tsconfig.json index 0018d4c..5e3b283 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,13 +5,13 @@ "strict": true, "declaration": true, "sourceMap": true, - "outDir": ".", + "outDir": "dist", "lib": [ - "es2015" + "es2015", "dom", "scripthost" ] }, "include": [ - "index.ts" - ], - "exclude": [] + "src/**/*.ts", + "tests/**/*.ts" + ] }