diff --git a/.npmignore b/.npmignore index 94877de..7aa82de 100644 --- a/.npmignore +++ b/.npmignore @@ -1,4 +1,5 @@ node_modules yarn* *.ts -tsconfig.json \ No newline at end of file +!*.d.ts +tsconfig.json diff --git a/package.json b/package.json index c5fee82..80b2bdf 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "1.0.2", "description": "Validator module powered by validate-with-xmllint", "main": "build/index.js", + "types": "build/index.d.ts", "scripts": { "build": "yarn run clean && yarn run cp-schemas && tsc", "cp-schemas": "mkdir -p build/schemas && cp -R schemas build",