GitHub - azu/tsconfig-to-dual-package: Node.js dual package tool that add package.json to tsconfig's `outDir`
Briefly

A Node.js dual package tool for TypeScript.You can support CommonJS and ESModules in one package via this tool.This tool add package.json which is { "type": "module" } or { "type": "commonjs" } based on tsconfig's module and outDir option.You can use this tool with tsc command.
Read at GitHub
[
add
]
[
|
|
]