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" + ] }