Skip to content

Commit 659b1e7

Browse files
committed
Add comments to deno tasks
1 parent df4c23b commit 659b1e7

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

deno.json

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,21 @@
11
{
22
"tasks": {
3-
"watch": "deno run -A --watch run/build.js",
4-
"build": "deno run -A run/build.js",
5-
"archive": "deno run -A run/archive.js",
6-
"test": "deno test --allow-read"
3+
"build": {
4+
"command": "deno run -A run/build.js",
5+
"description": "Builds both Yozo's lib and dev builds, outputting them in `latest/lib.js` and `latest/dev.js`"
6+
},
7+
"watch": {
8+
"command": "deno run -A --watch run/build.js",
9+
"description": "Runs a watcher to build the bundles whenever something changes"
10+
},
11+
"archive": {
12+
"command": "deno run -A run/archive.js",
13+
"description": "Create a new version, archiving the bundles and updating `versions.json`"
14+
},
15+
"test": {
16+
"command": "deno test --allow-read",
17+
"description": "A flagless alias for running the tests"
18+
}
719
},
820
"imports": {
921
"@std/cli": "jsr:@std/cli@0.224.3",

0 commit comments

Comments
 (0)