the path to your "deno.json" file. it could be either an absolute path, or a path relative to your current working directory (Deno.cwd()
).
provide additional overrides to apply to your output "package.json" like object.
a "package.json" like javascript object.
create a "package.json" nodejs-project file, based on your "deno.json" configuration file.
the following required fields inside of your "deno.json" will get merged into the output:
name
,version
the following fields inside of your "deno.json" will get merged into the output:
description
,author
,license
,repository
,bugs
, andexports
the following field inside of your "deno.json" will get spread onto your output:
packageJson
note that if you use dnt (deno-to-node), then you will have to delete the
exports
property from the output, otherwise it will ruin/overwritednt
's output.