2023-03-05 01:55:28 +00:00
|
|
|
{
|
2024-04-23 06:36:03 +00:00
|
|
|
"$schema": "https://deno.land/x/deno@v1.41.0/cli/schemas/config-file.v1.json",
|
2023-03-05 01:55:28 +00:00
|
|
|
"lock": false,
|
|
|
|
"tasks": {
|
2024-04-23 06:36:03 +00:00
|
|
|
"start": "deno run -A src/server.ts",
|
|
|
|
"dev": "deno run -A --watch src/server.ts",
|
|
|
|
"debug": "deno run -A --inspect src/server.ts",
|
|
|
|
"test": "DATABASE_URL=\"sqlite://:memory:\" deno test -A",
|
2023-08-17 18:20:25 +00:00
|
|
|
"check": "deno check src/server.ts",
|
2024-04-23 06:36:03 +00:00
|
|
|
"relays:sync": "deno run -A scripts/relays.ts sync",
|
2024-04-23 22:32:24 +00:00
|
|
|
"nsec": "deno run scripts/nsec.ts",
|
2024-04-23 23:13:18 +00:00
|
|
|
"admin:event": "deno run -A scripts/admin-event.ts",
|
|
|
|
"admin:role": "deno run -A scripts/admin-role.ts"
|
2023-03-05 01:55:28 +00:00
|
|
|
},
|
2024-04-23 06:36:03 +00:00
|
|
|
"unstable": ["ffi", "kv"],
|
2024-01-07 20:09:00 +00:00
|
|
|
"exclude": ["./public"],
|
2024-04-19 20:17:09 +00:00
|
|
|
"imports": {
|
|
|
|
"@/": "./src/",
|
2024-04-26 17:33:52 +00:00
|
|
|
"@nostrify/nostrify": "jsr:@nostrify/nostrify@^0.15.0",
|
2024-04-23 22:32:24 +00:00
|
|
|
"@std/cli": "jsr:@std/cli@^0.223.0",
|
2024-04-29 20:54:01 +00:00
|
|
|
"@std/crypto": "jsr:@std/crypto@^0.224.0",
|
|
|
|
"@std/encoding": "jsr:@std/encoding@^0.224.0",
|
2024-04-23 22:32:24 +00:00
|
|
|
"@std/json": "jsr:@std/json@^0.223.0",
|
2024-04-29 20:54:01 +00:00
|
|
|
"@std/media-types": "jsr:@std/media-types@^0.224.0",
|
2024-04-23 22:32:24 +00:00
|
|
|
"@std/streams": "jsr:@std/streams@^0.223.0",
|
2024-04-20 23:54:15 +00:00
|
|
|
"hono": "https://deno.land/x/hono@v3.10.1/mod.ts",
|
|
|
|
"hono/middleware": "https://deno.land/x/hono@v3.10.1/middleware.ts",
|
2024-04-20 01:52:42 +00:00
|
|
|
"kysely": "npm:kysely@^0.26.3",
|
2024-04-23 20:03:20 +00:00
|
|
|
"kysely_deno_postgres": "https://deno.land/x/kysely_deno_postgres@v0.4.0/mod.ts",
|
2024-04-23 22:32:24 +00:00
|
|
|
"zod": "npm:zod@^3.23.4",
|
|
|
|
"~/fixtures/": "./fixtures/"
|
2024-04-19 20:17:09 +00:00
|
|
|
},
|
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
|
|
|
}
|
2024-03-17 20:44:49 +00:00
|
|
|
}
|