summaryrefslogtreecommitdiff
path: root/cli/schemas
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-03-11 02:56:14 +0100
committerGitHub <noreply@github.com>2022-03-10 20:56:14 -0500
commit47f22777beb7eb98a07fa56fbbd40ab5c1fa231e (patch)
treeaa61065f07df3c1ad5a28326801720593a8cdd19 /cli/schemas
parent808f797633ba82c0e9198481ddd742284a03cb9c (diff)
feat: "deno task" subcommand (#13725)
Co-authored-by: David Sherret <dsherret@gmail.com>
Diffstat (limited to 'cli/schemas')
-rw-r--r--cli/schemas/config-file.v1.json11
1 files changed, 11 insertions, 0 deletions
diff --git a/cli/schemas/config-file.v1.json b/cli/schemas/config-file.v1.json
index 55ea417f0..2ab06aead 100644
--- a/cli/schemas/config-file.v1.json
+++ b/cli/schemas/config-file.v1.json
@@ -310,6 +310,17 @@
}
}
}
+ },
+ "tasks": {
+ "description": "Configuration for deno task",
+ "type": "object",
+ "patternProperties": {
+ "^[A-Za-z][A-Za-z0-9_\\-]*$": {
+ "type": "string",
+ "description": "Command to execute for this task name."
+ }
+ },
+ "additionalProperties": false
}
}
}