-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscripts.ts
38 lines (37 loc) · 969 Bytes
/
scripts.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import { ScriptsConfiguration } from "https://deno.land/x/velociraptor@1.2.0/src/scripts_config.ts";
export default {
scripts: {
start: {
cmd: "mod.ts",
unstable: true,
allow: ["net", "read", "env", "run"],
},
migrate: {
cmd: "https://deno.land/x/nessie@2.0.0/cli.ts migrate",
unstable: true,
allow: ["net", "read", "env"],
},
seed: {
cmd: "https://deno.land/x/nessie@2.0.0/cli.ts seed",
unstable: true,
allow: ["net", "read", "env"],
},
rollback: {
cmd: "https://deno.land/x/nessie@2.0.0/cli.ts rollback",
unstable: true,
allow: ["net", "read", "env"],
},
dev: {
cmd: "mod.ts",
allow: ["net", "read", "env", "run"],
watch: true,
unstable: true,
noCheck: true,
},
create: {
cmd: "./commands/mod.ts",
allow: ["net", "read", "env", "run", "write"],
unstable: true,
},
},
} as ScriptsConfiguration;