diff --git a/package.json b/package.json index c29f9c3..854b9ee 100644 --- a/package.json +++ b/package.json @@ -45,5 +45,6 @@ "branches": [ "master" ] - } + }, + "types": "lib/index.d.ts" } diff --git a/src/index.ts b/src/index.ts index 486a419..f5760c2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,7 @@ #!/usr/bin/env node +export { IConfigInterface } from "./configurator"; +export { run } from "./runner"; +export { ResultSymbol } from "./analyzer"; import { getConfig } from "./configurator"; import { run } from "./runner"; diff --git a/tsconfig.json b/tsconfig.json index 10ad244..53f577d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,6 +7,7 @@ "preserveConstEnums": true, "outDir": "lib", "sourceMap": true, + "declaration": true, "lib": [ "esnext" ],