diff --git a/package.json b/package.json index 4b15177..cda707a 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "run": "node bin/cli.mjs", "watch": "node --watch bin/cli.mjs" }, + "main": "./src/index.mjs", "bin": { "api-docs-tooling": "./bin/cli.mjs" }, diff --git a/src/index.mjs b/src/index.mjs new file mode 100644 index 0000000..af51f3d --- /dev/null +++ b/src/index.mjs @@ -0,0 +1,8 @@ +export * as constants from './constants.mjs'; +export { default as generators } from './generators/index.mjs'; +export { default as createGenerator } from './generators.mjs'; +export { default as createLoader } from './loader.mjs'; +export { default as createMetadata } from './metadata.mjs'; +export { default as createParser } from './parser.mjs'; +export { default as createQueries } from './queries.mjs'; +export { default as createNodeReleases } from './releases.mjs';