From c1f95c6adfffae39bc082e40789284fe10917553 Mon Sep 17 00:00:00 2001 From: C-3PO Date: Fri, 19 Oct 2018 00:00:25 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=E2=80=8D=E2=99=82=EF=B8=8F=20Prepa?= =?UTF-8?q?re=20package.json=20for=20npm=20install?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 10 +++++++++- tsconfig.json | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b7cd51d..94a2fed 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "url": "https://git.jedipedia.net/swtor/ssn.git" }, "main": "dist/index.js", + "types": "dist/index.d.ts", "scripts": { "start": "rm -rf dist && tsc", "test": "echo \"Error: no test specified\" && exit 1" @@ -17,5 +18,12 @@ "dependencies": { "ssn-installer": "git+https://git.jedipedia.net/swtor/ssn-installer.git", "xml-js": "^1.6.8" - } + }, + "files": [ + "src/index.ts", + "src/*/*.ts", + "src/*/*/*.ts", + "src/*/*/*/*.ts", + "tsconfig.json" + ] } diff --git a/tsconfig.json b/tsconfig.json index cc1e4c4..5aebffb 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "baseUrl": ".", + "declaration": true, "inlineSourceMap": true, "inlineSources": true, "module": "commonjs",