Skip to content

Commit

Permalink
feat: allow non-cli execution (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aviv Keller authored Nov 16, 2024
1 parent 751f3b0 commit 24aaa11
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
8 changes: 8 additions & 0 deletions src/index.mjs
Original file line number Diff line number Diff line change
@@ -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';

0 comments on commit 24aaa11

Please sign in to comment.