2023-03-05 01:55:28 +00:00
|
|
|
{
|
2023-05-04 03:46:23 +00:00
|
|
|
"$schema": "https://deno.land/x/deno@v1.32.3/cli/schemas/config-file.v1.json",
|
2023-03-05 01:55:28 +00:00
|
|
|
"lock": false,
|
|
|
|
"tasks": {
|
2024-01-31 22:43:14 +00:00
|
|
|
"start": "deno run -A --unstable-ffi src/server.ts",
|
|
|
|
"dev": "deno run -A --unstable-ffi --watch src/server.ts",
|
|
|
|
"debug": "deno run -A --unstable-ffi --inspect src/server.ts",
|
|
|
|
"test": "DB_PATH=\":memory:\" deno test -A --unstable-ffi",
|
2023-08-17 18:20:25 +00:00
|
|
|
"check": "deno check src/server.ts",
|
2024-01-31 22:43:14 +00:00
|
|
|
"relays:sync": "deno run -A --unstable-ffi scripts/relays.ts sync"
|
2023-03-05 01:55:28 +00:00
|
|
|
},
|
2024-01-07 20:09:00 +00:00
|
|
|
"exclude": ["./public"],
|
2023-03-05 01:55:28 +00:00
|
|
|
"imports": {
|
2023-08-10 19:56:27 +00:00
|
|
|
"@/": "./src/",
|
2023-08-27 00:14:29 +00:00
|
|
|
"~/fixtures/": "./fixtures/"
|
2023-03-05 01:55:28 +00:00
|
|
|
},
|
|
|
|
"lint": {
|
2023-08-14 23:46:35 +00:00
|
|
|
"include": ["src/", "scripts/"],
|
2023-03-05 01:55:28 +00:00
|
|
|
"rules": {
|
|
|
|
"tags": ["recommended"],
|
|
|
|
"exclude": ["no-explicit-any"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"fmt": {
|
2023-08-14 23:46:35 +00:00
|
|
|
"include": ["src/", "scripts/"],
|
2023-05-04 02:57:44 +00:00
|
|
|
"useTabs": false,
|
|
|
|
"lineWidth": 120,
|
|
|
|
"indentWidth": 2,
|
|
|
|
"semiColons": true,
|
|
|
|
"singleQuote": true,
|
|
|
|
"proseWrap": "preserve"
|
2023-03-05 01:55:28 +00:00
|
|
|
}
|
|
|
|
}
|