import { type ScriptOptions } from "https://deno.land/x/denon@2.5.0/src/scripts.ts";
Additional script options.
These can be applied both in ScriptObject
s and at top-level
in which case they're applied to all the scripts defined in the file
Properties
optional
allow: string[] | FlagsObject | "all"A list of boolean --allow-*
deno cli options or
a map of option names to values
The path to an import map json file,
passed to deno cli's --import-map
option.
Note This currently requires the --unstable
flag
If the code that has to be run is using unstable features
from deno standard library this option should be set to
true
so that --unstable
option is passed to deno cli's.
The path to an existing lockfile,
passed to deno cli's --lock
option.
Note This doesn't create the lockfile, use --lock-write
manually
when appropriate