diff --git a/index.ts b/index.ts new file mode 100644 index 0000000..f868dd8 --- /dev/null +++ b/index.ts @@ -0,0 +1 @@ +export { DiscordNotification } from "./src/index"; diff --git a/package.json b/package.json index 7a5af36..b4d0fe9 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "author": "Joao Mantovani ", "license": "MIT", "private": false, + "main": "dist/index.js", "repository": { "type": "git", "url": "git+https://github.com/penseapp/discord-notification.git" diff --git a/tsconfig.json b/tsconfig.json index f6079fe..cb57e99 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -77,5 +77,5 @@ "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */ }, "include": ["src/**/*", "tests/index.spec.ts"], - "exclude": ["node_modules", "**/*.test.ts", "src/server.ts", "src/index.ts"] + "exclude": ["node_modules", "**/*.test.ts", "src/server.ts"] }