In case you don't want to globally install denopack, but want to use it locally with script runners: this is absolutely, totally possible since denopack uses 0 NodeJS specific code!
scripts:
start: deno run --unstable --allow-read --allow-write
https://deno.land/x/[email protected]/cli.ts
vr run start -i mod.ts -o bundle.js
scripts:
start:
file: https://deno.land/x/[email protected]/cli.ts
deno_options:
allow-read: true
allow-write: true
unstable: true
denox run start -i mod.ts -o bundle.js
{
"config": {
"start": "--unstable --allow-read --allow-write
https://deno.land/x/[email protected]/cli.ts -i mod.ts -o bundle.js"
}
}
vr run start -i mod.ts -o bundle.js