From d2c5d9ccb28be88993c7907b91cb68b0ff1bfda9 Mon Sep 17 00:00:00 2001 From: C-3PO Date: Thu, 15 Nov 2018 19:12:17 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=E2=80=8D=E2=99=82=EF=B8=8F=20Updat?= =?UTF-8?q?e=20package.json=20to=20allow=20installation=20as=20package?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 23a9126..8d82dbc 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { + "postinstall": "npm start", "start": "rm -rf dist && tsc", "test": "echo \"Error: no test specified\" && exit 1", "update": "rm -rf node_modules package-lock.json && npm install" @@ -18,5 +19,10 @@ "@types/node": "^10.12.8", "mysql": "^2.16.0", "ssn": "git+https://git.jedipedia.net/swtor/ssn.git" - } + }, + "files": [ + "src/*.ts", + "src/*/*.ts", + "tsconfig.json" + ] }