diff --git a/.gitignore b/.gitignore index 0e8ae32..12d09b8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,8 @@ node_modules/ typings/ cache/ +*.js +*.d.ts *.log.* *.log *.tgz diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..3f196b4 --- /dev/null +++ b/.npmignore @@ -0,0 +1,7 @@ +node_modules/ +typings/ +cache/ +src/ +*.log.* +*.log +*.tgz diff --git a/dist/.gitignore b/dist/.gitignore deleted file mode 100644 index a6c7c28..0000000 --- a/dist/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.js diff --git a/tsconfig.json b/tsconfig.json index c45b5cb..f39631c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "declaration": false, + "declaration": true, "experimentalDecorators": true, "module": "commonjs", "moduleResolution": "node", @@ -9,9 +9,7 @@ "target": "es5" }, "files": [ - "typings/node/node.d.ts", - "typings/request/request.d.ts", - "typings/bluebird/bluebird.d.ts", + "typings/tsd.d.ts", "typings-custom/node-expat.d.ts", "src/xsd.ts"