fix: add types in export

This commit is contained in:
Andrey Ponomarenko 2020-09-25 10:42:56 +03:00
parent 8ccc1285fb
commit 1418957674
3 changed files with 4 additions and 2 deletions

View File

@ -2,7 +2,7 @@
"name": "diawi-nodejs-uploader", "name": "diawi-nodejs-uploader",
"version": "0.0.1", "version": "0.0.1",
"author": "Andrey Ponomarenko", "author": "Andrey Ponomarenko",
"main": "dist/core/index.js", "main": "dist/index.js",
"description": "A nodejs integration with Diawi app distribution api", "description": "A nodejs integration with Diawi app distribution api",
"license": "MIT", "license": "MIT",
"repository": { "repository": {

2
src/index.ts Normal file
View File

@ -0,0 +1,2 @@
export * from './core';
export * from './types';

View File

@ -16,7 +16,7 @@
"forceConsistentCasingInFileNames": true "forceConsistentCasingInFileNames": true
}, },
"include": [ "include": [
"src/core/*" "src/*"
], ],
"exclude": [ "exclude": [
"node_modules", "node_modules",