this function transforms your deno-project to a node-project, using dnt under the hood.
this function reads your "deno.json" file to figure out most of what needs to be transformed, and comes with a handful of useful preset configurations.
take a look at BuildNpmConfig to see what configuration options are available.
moreover, to use this transformer via cli, use the ./cli/npm.ts script file (or jsr:@oazmi/build-tools/cli/npm if using jsr), and take a look at its CliArgs for list of supported cli args.
this function transforms your deno-project to a node-project, using
dnt
under the hood. this function reads your "deno.json" file to figure out most of what needs to be transformed, and comes with a handful of useful preset configurations.take a look at BuildNpmConfig to see what configuration options are available.
moreover, to use this transformer via cli, use the
./cli/npm.ts
script file (orjsr:@oazmi/build-tools/cli/npm
if using jsr), and take a look at its CliArgs for list of supported cli args.