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"] }