38 lines
1.1 KiB
JSON
38 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://deno.land/x/deno@v1.32.3/cli/schemas/config-file.v1.json",
|
|
"lock": false,
|
|
"tasks": {
|
|
"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": "DATABASE_URL=\"sqlite://:memory:\" deno test -A --unstable-ffi",
|
|
"check": "deno check src/server.ts",
|
|
"relays:sync": "deno run -A --unstable-ffi scripts/relays.ts sync",
|
|
"nsec": "deno run scripts/nsec.ts"
|
|
},
|
|
"exclude": ["./public"],
|
|
"imports": {
|
|
"@/": "./src/",
|
|
"@nostrify/nostrify": "jsr:@nostrify/nostrify@^0.9.7",
|
|
"@soapbox/nspec": "jsr:@soapbox/nspec@^0.8.1",
|
|
"~/fixtures/": "./fixtures/",
|
|
"kysely": "npm:kysely@^0.26.3"
|
|
},
|
|
"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"
|
|
}
|
|
}
|