-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathscripts.json
48 lines (48 loc) · 1.56 KB
/
scripts.json
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
39
40
41
42
43
44
45
46
47
48
{
"$schema": "https://deno.land/x/denon@2.4.6/schema.json",
"scripts": {
"test": {
"cmd": "deno run --unstable --allow-net ./tests/test_server.ts",
"desc": "server"
},
"test_middleware": {
"cmd": "deno run --unstable --allow-net ./tests/test_middleware.ts",
"desc": "server destructured"
},
"test_send_file": {
"cmd": "deno run --unstable --allow-net --allow-read ./tests/test_send_file.ts",
"desc": "send file test"
},
"test_render_handlebars": {
"cmd": "deno run --allow-net --unstable --allow-read ./tests/test_render_handlebars.ts",
"desc": "render"
},
"test_redirect": {
"cmd": "deno run --allow-net --unstable ./tests/test_redirect.ts",
"desc": "send a file"
},
"test_static": {
"cmd": "deno run --allow-net --unstable --allow-read ./tests/test_static.ts",
"desc": "static"
},
"test_refactoring": {
"cmd": "deno run --unstable --allow-read --allow-net ./tests/test_refactoring.ts",
"desc": "refactoring "
},
"test_body": {
"cmd": "deno run --unstable --allow-read --allow-net ./tests/test_body.ts",
"desc": "test body consumption"
},
"website": {
"cmd": "deno run --allow-write --allow-net --unstable --allow-read --allow-run ./website/serve.ts",
"desc": "generate website"
},
"test_cors": {
"cmd": "deno run --unstable --allow-read --allow-net ./tests/test_cors.ts",
"desc": "Cors built in middleware"
}
},
"watcher": {
"exts": ["js", "jsx", "ts", "tsx", "json", "pug", "md"]
}
}