diff --git a/src/IProvider.d.ts b/dist/IProvider.d.ts similarity index 100% rename from src/IProvider.d.ts rename to dist/IProvider.d.ts diff --git a/src/IProvider.js b/dist/IProvider.js similarity index 100% rename from src/IProvider.js rename to dist/IProvider.js diff --git a/src/cookieAuthXhrApi.d.ts b/dist/cookieAuthXhrApi.d.ts similarity index 100% rename from src/cookieAuthXhrApi.d.ts rename to dist/cookieAuthXhrApi.d.ts diff --git a/src/cookieAuthXhrApi.js b/dist/cookieAuthXhrApi.js similarity index 100% rename from src/cookieAuthXhrApi.js rename to dist/cookieAuthXhrApi.js diff --git a/src/cookieProvider.d.ts b/dist/cookieProvider.d.ts similarity index 100% rename from src/cookieProvider.d.ts rename to dist/cookieProvider.d.ts diff --git a/src/cookieProvider.js b/dist/cookieProvider.js similarity index 100% rename from src/cookieProvider.js rename to dist/cookieProvider.js diff --git a/src/index.d.ts b/dist/index.d.ts similarity index 100% rename from src/index.d.ts rename to dist/index.d.ts diff --git a/src/index.js b/dist/index.js similarity index 100% rename from src/index.js rename to dist/index.js diff --git a/src/ntlmAuthXhrApi.d.ts b/dist/ntlmAuthXhrApi.d.ts similarity index 100% rename from src/ntlmAuthXhrApi.d.ts rename to dist/ntlmAuthXhrApi.d.ts diff --git a/src/ntlmAuthXhrApi.js b/dist/ntlmAuthXhrApi.js similarity index 100% rename from src/ntlmAuthXhrApi.js rename to dist/ntlmAuthXhrApi.js diff --git a/src/ntlmProvider.d.ts b/dist/ntlmProvider.d.ts similarity index 100% rename from src/ntlmProvider.d.ts rename to dist/ntlmProvider.d.ts diff --git a/src/ntlmProvider.js b/dist/ntlmProvider.js similarity index 100% rename from src/ntlmProvider.js rename to dist/ntlmProvider.js diff --git a/src/proxySupportedXhrApi.d.ts b/dist/proxySupportedXhrApi.d.ts similarity index 100% rename from src/proxySupportedXhrApi.d.ts rename to dist/proxySupportedXhrApi.d.ts diff --git a/src/proxySupportedXhrApi.js b/dist/proxySupportedXhrApi.js similarity index 100% rename from src/proxySupportedXhrApi.js rename to dist/proxySupportedXhrApi.js diff --git a/src/utils.d.ts b/dist/utils.d.ts similarity index 100% rename from src/utils.d.ts rename to dist/utils.d.ts diff --git a/src/utils.js b/dist/utils.js similarity index 100% rename from src/utils.js rename to dist/utils.js diff --git a/src/xhrApi.d.ts b/dist/xhrApi.d.ts similarity index 100% rename from src/xhrApi.d.ts rename to dist/xhrApi.d.ts diff --git a/src/xhrApi.js b/dist/xhrApi.js similarity index 100% rename from src/xhrApi.js rename to dist/xhrApi.js diff --git a/package.json b/package.json index c891849..42a5d86 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "@ewsjs/xhr", - "version": "1.4.1", + "version": "1.4.2", "description": "alternate XHR methods for ewsjs", - "main": "src/index.js", + "main": "dist/index.js", "scripts": { "test": "mocha ./test/ --exit" }, @@ -16,7 +16,7 @@ "homepage": "https://github.com/gautamsi/ews-javascript-api-auth", "author": "Gautam Singh (@gautamsi)", "license": "MIT", - "typings": "src/index.d.ts", + "typings": "dist/index.d.ts", "dependencies": { "@ewsjs/ntlm-client": "^1.0.0", "bluebird": "^3.4.6", diff --git a/tsconfig.json b/tsconfig.json index 3d7dd4d..f319775 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,11 +5,13 @@ "declaration": true, "stripInternal": true, "removeComments": false, + "outDir": "dist", "lib": [ "es2015", "dom" ] }, "exclude": [ + "dist", "node_modules" ] } \ No newline at end of file