forked from smack0007/SDL_ts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeno.json
41 lines (41 loc) · 1.72 KB
/
deno.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
{
"compilerOptions": {
"lib": [
"deno.window",
"deno.unstable"
]
},
"fmt": {
"useTabs": false,
"lineWidth": 120,
"indentWidth": 2
},
"lint": {
"rules": {
"tags": [
"recommended"
],
"include": [
"explicit-function-return-type"
],
"exclude": [
"no-inferrable-types"
]
}
},
"importMap": "imports.json",
"tasks": {
"build": "cd ./scripts && deno run --allow-read --allow-run ./build.ts",
"build:ci": "deno task build --ci",
"check": "deno check",
"codegen": "cd ./tools && deno run --unstable --allow-run --allow-read --allow-write $DENO_FLAGS ./codegen.ts",
"codegen-scraper": "cd ./tools && deno run --allow-read --allow-write --allow-run ./codegen-scraper.ts",
"run:init": "deno run --allow-net --allow-read=. --allow-write=. ./init.ts ./tmp/init",
"run:doom-fire": "cd ./examples/doom-fire && SDL_TS_ENV_DIR=$INIT_CWD deno run --unstable --allow-env --allow-ffi --allow-read=../.. $DENO_FLAGS ./main.ts",
"run:hello-world": "cd ./examples/hello-world && SDL_TS_ENV_DIR=$INIT_CWD deno run --unstable --allow-env --allow-ffi --allow-read=../.. $DENO_FLAGS ./main.ts",
"run:hello-world-async": "cd ./examples/hello-world-async && SDL_TS_ENV_DIR=$INIT_CWD deno run --unstable --allow-env --allow-ffi --allow-read=../.. $DENO_FLAGS ./main.ts",
"run:renderer": "cd ./examples/renderer && SDL_TS_ENV_DIR=$INIT_CWD deno run --unstable --allow-env --allow-ffi --allow-read=../.. $DENO_FLAGS ./main.ts",
"run:same-game": "cd ./examples/same-game && SDL_TS_ENV_DIR=$INIT_CWD deno run --unstable --allow-env --allow-ffi --allow-read=../.. $DENO_FLAGS ./main.ts",
"test": "deno test --unstable --allow-ffi"
}
}