-
Notifications
You must be signed in to change notification settings - Fork 6
/
deno.json
41 lines (41 loc) · 2.02 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
{
"name": "@smack0007/sdl-ts",
"version": "2.30.2",
"exports": "./mod.ts",
"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"]
}
},
"imports": {
"SDL_ts": "./mod.ts",
"@std/assert": "jsr:@std/[email protected]",
"@std/colors": "jsr:@std/[email protected]/colors",
"@std/path": "jsr:@std/[email protected]"
},
"tasks": {
"build": "cd ./scripts && deno run -R --allow-run ./build.ts",
"build:ci": "deno task build --ci",
"check": "deno check",
"codegen": "cd ./tools && deno run --unstable-ffi --allow-run -R -W $DENO_FLAGS ./codegen.ts",
"codegen-scraper": "cd ./tools && deno run -R -W --allow-run ./codegen-scraper.ts",
"run:doom-fire": "cd ./examples/doom-fire && SDL_TS_LIBRARY_PATH=$INIT_CWD/.lib deno run --unstable-ffi -E --allow-ffi -R=../.. $DENO_FLAGS ./main.ts",
"run:hello-world": "cd ./examples/hello-world && SDL_TS_LIBRARY_PATH=$INIT_CWD/.lib deno run --unstable-ffi -E --allow-ffi -R=../.. $DENO_FLAGS ./main.ts",
"run:hello-world-async": "cd ./examples/hello-world-async && SDL_TS_LIBRARY_PATH=$INIT_CWD/.lib deno run --unstable-ffi -E --allow-ffi -R=../.. $DENO_FLAGS ./main.ts",
"run:play-wav": "cd ./examples/play-wav && SDL_TS_LIBRARY_PATH=$INIT_CWD/.lib deno run --unstable-ffi -E --allow-ffi -R=../.. $DENO_FLAGS ./main.ts",
"run:renderer": "cd ./examples/renderer && SDL_TS_LIBRARY_PATH=$INIT_CWD/.lib deno run --unstable-ffi -E --allow-ffi -R=../.. $DENO_FLAGS ./main.ts",
"run:same-game": "cd ./examples/same-game && SDL_TS_LIBRARY_PATH=$INIT_CWD/.lib deno run --unstable-ffi -E --allow-ffi -R=../.. $DENO_FLAGS ./main.ts",
"run:version": "cd ./examples/version && SDL_TS_LIBRARY_PATH=$INIT_CWD/.lib deno run --unstable-ffi -E --allow-ffi -R=../.. $DENO_FLAGS ./main.ts",
"test": "deno test --unstable-ffi --allow-ffi"
}
}