From 14189576748bd840b95be7b304a663db9248af0b Mon Sep 17 00:00:00 2001 From: Andrey Ponomarenko Date: Fri, 25 Sep 2020 10:42:56 +0300 Subject: [PATCH] fix: add types in export --- package.json | 2 +- src/index.ts | 2 ++ tsconfig.json | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 src/index.ts diff --git a/package.json b/package.json index ce7e22c..44a1d18 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "diawi-nodejs-uploader", "version": "0.0.1", "author": "Andrey Ponomarenko", - "main": "dist/core/index.js", + "main": "dist/index.js", "description": "A nodejs integration with Diawi app distribution api", "license": "MIT", "repository": { diff --git a/src/index.ts b/src/index.ts new file mode 100644 index 0000000..a5a9e05 --- /dev/null +++ b/src/index.ts @@ -0,0 +1,2 @@ +export * from './core'; +export * from './types'; diff --git a/tsconfig.json b/tsconfig.json index 67c3d83..23afb15 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -16,7 +16,7 @@ "forceConsistentCasingInFileNames": true }, "include": [ - "src/core/*" + "src/*" ], "exclude": [ "node_modules",