32 lines
1.0 KiB
JSON
32 lines
1.0 KiB
JSON
{
|
|
"$schema": "https://deno.land/x/deno@v1.32.3/cli/schemas/config-file.v1.json",
|
|
"lock": false,
|
|
"tasks": {
|
|
"start": "deno run --allow-read --allow-write=data --allow-env --allow-net --unstable src/server.ts",
|
|
"dev": "deno run --allow-read --allow-write=data --allow-env --allow-net --unstable --watch src/server.ts",
|
|
"debug": "deno run --allow-read --allow-write=data --allow-env --allow-net --unstable --inspect src/server.ts",
|
|
"test": "DB_PATH=\":memory:\" deno test --allow-read --allow-write=data --allow-env --unstable src",
|
|
"check": "deno check --unstable src/server.ts",
|
|
"relays:sync": "deno run -A --unstable scripts/relays.ts sync",
|
|
},
|
|
"imports": {
|
|
"@/": "./src/",
|
|
"~/": "./"
|
|
},
|
|
"lint": {
|
|
"include": ["src/", "scripts/"],
|
|
"rules": {
|
|
"tags": ["recommended"],
|
|
"exclude": ["no-explicit-any"]
|
|
}
|
|
},
|
|
"fmt": {
|
|
"include": ["src/", "scripts/"],
|
|
"useTabs": false,
|
|
"lineWidth": 120,
|
|
"indentWidth": 2,
|
|
"semiColons": true,
|
|
"singleQuote": true,
|
|
"proseWrap": "preserve"
|
|
}
|
|
} |