-
Notifications
You must be signed in to change notification settings - Fork 0
/
deno.jsonc
50 lines (50 loc) · 1.78 KB
/
deno.jsonc
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
49
50
{
"test": {
},
"tasks": {
//Examples
"demo:web": "deno run -A ./examples/web_server/web.js",
"demo:server": "deno run -A --unstable ./examples/deno/wt_server.ts",
"demo:server-uni-recv": "deno run -A --unstable ./examples/deno/wt_server_uni_recv.ts",
"demo:server-uni-send": "deno run -A --unstable ./examples/deno/wt_server_uni_send.ts",
"demo:server-bidi-send": "deno run -A --unstable ./examples/deno/wt_server_bidi_send.ts",
"demo:server-bidi-recv": "deno run -A --unstable ./examples/deno/wt_server_bidi_recv.ts",
"demo:client": "deno run -A --unstable ./examples/deno/wt_client.ts",
"demo:bidi": "deno run -A --unstable ./examples/deno/wt_client_bidi.ts",
"demo:uni-send": "deno run -A --unstable ./examples/deno/wt_client_uni_send.ts",
"demo:uni-recv": "deno run -A --unstable ./examples/deno/wt_client_uni_recv.ts",
"demo:gencert": "deno run -A --unstable ./examples/deno/wt_gencert.ts",
// CI Build task
"build:release": "cargo clean && cargo build --release",
"build:debug": "cargo clean && cargo build",
//Utils
"util:fmt": "deno fmt --unstable",
"util:lint": "deno lint --unstable",
//Tests
"test": "deno task demo:gencert && deno test -A --unstable ",
//Non CI build
"build": "cargo build"
},
"compilerOptions": {
"checkJs": true,
"strict": true
},
"fmt": {
"exclude": [
"./target",
"./.git",
"./.github",
"./.vscode"
],
"lineWidth": 80,
"indentWidth": 4
},
"lint": {
"exclude": [
"./target",
"./.git",
"./.github",
"./.vscode"
]
}
}