From 2df4ddfee4e20b4ba67c8b8d4e1a8ee6b452650b Mon Sep 17 00:00:00 2001 From: Alexander Bukhalo Date: Sat, 2 Jan 2021 16:34:27 +0300 Subject: [PATCH] fix(): revert back typescript configuration --- index.d.ts | 1 + index.js | 6 ++++++ index.ts | 1 + tsconfig.json | 4 ++-- 4 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 index.d.ts create mode 100644 index.js create mode 100644 index.ts diff --git a/index.d.ts b/index.d.ts new file mode 100644 index 0000000..5703fb5 --- /dev/null +++ b/index.d.ts @@ -0,0 +1 @@ +export * from './dist'; diff --git a/index.js b/index.js new file mode 100644 index 0000000..9f5e27a --- /dev/null +++ b/index.js @@ -0,0 +1,6 @@ +"use strict"; +function __export(m) { + for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; +} +exports.__esModule = true; +__export(require("./dist")); diff --git a/index.ts b/index.ts new file mode 100644 index 0000000..5703fb5 --- /dev/null +++ b/index.ts @@ -0,0 +1 @@ +export * from './dist'; diff --git a/tsconfig.json b/tsconfig.json index 921d963..bb13608 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,10 +9,10 @@ "experimentalDecorators": true, "target": "es6", "sourceMap": false, - "baseUrl": "./", "outDir": "./dist", + "rootDir": "./lib", "skipLibCheck": true }, - "include": ["lib/**/*", "sample/**/*"], + "include": ["lib/**/*", "../index.ts"], "exclude": ["node_modules", "**/*.spec.ts"] }