diff --git a/app.ts b/app.ts index 3d66d96..1ad56df 100644 --- a/app.ts +++ b/app.ts @@ -1,4 +1,4 @@ -import randomBunny from "./src"; +import randomBunny from "./dist"; async function app() { const result = await randomBunny('rabbits', 'hot', 100); diff --git a/package.json b/package.json index 335b6de..80ef59c 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name": "random-bunny", - "version": "2.0.3", + "version": "2.0.5", "description": "Get a random subreddit image url", "license": "MIT", "author": "Vylpes", - "main": "./dist/index", - "typings": "./dist", + "main": "./dist/index.js", + "typings": "./dist/index.d.ts", "keywords": [ "rabbit", "bunny", @@ -37,5 +37,8 @@ "eslint": "^7.17.0", "ts-node": "^10.4.0", "typescript": "^4.5.2" - } + }, + "files": [ + "dist" + ] }