attempts to load dts.config.ts if it is available,
throws an error if unable to load it. if dts.config.ts
isn't available, moves on to check for dts.config.js.
enables type declarations in tsconfig.json so that
people can import types correctly.
might be worth splitting the current index.ts into multiple
files: one that effectively handles exporting all of the types
(index.ts) and one that handles the CLI itself (cli.ts). this
would be inline with how the templates used by the project
split things.
attempts to load dts.config.ts if it is available, throws an error if unable to load it. if dts.config.ts isn't available, moves on to check for dts.config.js.
enables type declarations in tsconfig.json so that people can import types correctly.
might be worth splitting the current index.ts into multiple files: one that effectively handles exporting all of the types (
index.ts
) and one that handles the CLI itself (cli.ts
). this would be inline with how the templates used by the project split things.closes #128