The name of this JSR package. Must be scoped
The version of this JSR package.
Optional
repositoryOptional
bugsOptional
packageOptional
benchConfiguration for deno bench
Optional
compilerInstructs the TypeScript compiler how to compile .ts files.
Optional
excludeList of files, directories or globs that will be ignored by all other configurations. Requires Deno 1.34 or later.
Optional
fmtConfiguration for formatter
Optional
importThe location of an import map to be used when resolving modules.
If an import map is specified as an --importmap
flag or using "imports" and "scopes" properties, they will override this value.
Optional
importsA map of specifiers to their remapped specifiers.
The key is the specifier or partial specifier to match, with a value that represents the target specifier.
Optional
lintConfiguration for linter
Optional
lockWhether to use a lock file or the path to use for the lock file. Can be overridden by CLI arguments.
Optional
nodeEnables or disables the use of a local node_modules folder for npm packages.
Alternatively, use the --node-modules-dir
flag or override the config via --node-modules-dir=false
. Requires Deno 1.34 or later.
Optional
publishConfiguration for deno publish
Optional
scopesDefine a scope which remaps a specifier in only a specified scope
A definition of a scoped remapping.
The key is the specifier or partial specifier to match within the referring scope, with a value that represents the target specifier.
Optional
tasksConfiguration for deno task
Optional
testConfiguration for deno test
Optional
unstableList of unstable features to enable.
Optional
vendorUNSTABLE: Enables or disables the use of a local vendor folder as a local cache for remote modules and node_modules folder for npm packages.
Alternatively, use the --vendor
flag or override the config via --vendor=false
.
Requires Deno 1.36.1 or later.
Optional
workspaceThe members of this workspace.
this is the json schema used for the "deno.json" configuration file.
it has been extended to require the
name
andversion
entries, as they are required by "package.json" when converting a deno project to a node project.in addition, the non-standard
repository
andbugs
optional entries have been added, since they're also useful when publishing your package on "npmjs.com".the json schema was originally taken from deno's official config schema file, and then converted to typescript via an online converter.