diff --git a/package.json b/package.json index ed64b30..c7651ac 100644 --- a/package.json +++ b/package.json @@ -3,11 +3,11 @@ "version": "0.0.1", "description": "Decode runes", "main": "dist/index.js", + "types": "dist/index.d.ts", "scripts": { "build": "tsc", "prepare": "npm run build" }, - "types": "dist/types", "author": "Aaron Barnard", "license": "MIT", "devDependencies": { diff --git a/tsconfig.json b/tsconfig.json index 358298d..05c150c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,7 +3,9 @@ "target": "ESNext", "module": "ESNext", "sourceMap": true, - "outDir": "./dist", + "outDir": "dist", + "declaration": true, + "declarationDir": "dist", "noImplicitAny": true, "strict": true },