diff --git a/.npmignore b/.npmignore index e227fe2..8a71b71 100644 --- a/.npmignore +++ b/.npmignore @@ -6,3 +6,4 @@ tsconfig.json .editorconfig .github .prettierrc +.prettierignore diff --git a/package.json b/package.json index 5b86663..c2f57b6 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,8 @@ "version": "0.1.0", "description": "AsyncAPI message validation", "main": "dist/index.js", - "types": "dist/index.d.ts", + "types": "dist/types/index.d.ts", + "files": ["dist"], "repository": { "type": "git", "url": "git://github.com/Elhebert/asyncapi-validation.git"