Repository
Current version released
3 years ago
Deno Scripts 🦕
Automated installation and execution of locally scoped scripts
Installation
deno install \
--unstable --allow-read --allow-env --allow-run \
-n script \
https://deno.land/x/scripts/install.ts
Usage
Create a scripts.json file in your root directory
{
"scripts": {
"hello": "https://deno.land/x/scripts/examples/hello.ts"
}
}
Install the scripts
script install
Run a script
script run hello
Local Development
deno run --unstable -A --watch install.ts install
deno run --unstable -A --watch install.ts run hello
Increment version
deno run -A https://deno.land/x/version/index.ts patch