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",