Skip to content

Commit

Permalink
Add comments to deno tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
vrugtehagel committed Nov 29, 2024
1 parent df4c23b commit 659b1e7
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
{
"tasks": {
"watch": "deno run -A --watch run/build.js",
"build": "deno run -A run/build.js",
"archive": "deno run -A run/archive.js",
"test": "deno test --allow-read"
"build": {
"command": "deno run -A run/build.js",
"description": "Builds both Yozo's lib and dev builds, outputting them in `latest/lib.js` and `latest/dev.js`"
},
"watch": {
"command": "deno run -A --watch run/build.js",
"description": "Runs a watcher to build the bundles whenever something changes"
},
"archive": {
"command": "deno run -A run/archive.js",
"description": "Create a new version, archiving the bundles and updating `versions.json`"
},
"test": {
"command": "deno test --allow-read",
"description": "A flagless alias for running the tests"
}
},
"imports": {
"@std/cli": "jsr:@std/[email protected]",
Expand Down

0 comments on commit 659b1e7

Please sign in to comment.