2023-03-04 19:55:28 -06:00
|
|
|
{
|
2024-04-23 01:36:03 -05:00
|
|
|
"$schema": "https://deno.land/x/deno@v1.41.0/cli/schemas/config-file.v1.json",
|
2024-05-01 18:30:12 -05:00
|
|
|
"lock": false,
|
2023-03-04 19:55:28 -06:00
|
|
|
"tasks": {
|
2024-04-23 01:36:03 -05:00
|
|
|
"start": "deno run -A src/server.ts",
|
|
|
|
"dev": "deno run -A --watch src/server.ts",
|
2024-05-07 14:53:32 -03:00
|
|
|
"hook": "deno run --allow-read --allow-run --allow-write https://deno.land/x/deno_hooks@0.1.1/mod.ts",
|
2024-04-23 01:36:03 -05:00
|
|
|
"debug": "deno run -A --inspect src/server.ts",
|
2024-05-05 20:26:20 +05:30
|
|
|
"test": "DATABASE_URL=\"sqlite://:memory:\" deno test -A --junit-path=./deno-test.xml",
|
2023-08-17 13:20:25 -05:00
|
|
|
"check": "deno check src/server.ts",
|
2024-04-23 17:32:24 -05:00
|
|
|
"nsec": "deno run scripts/nsec.ts",
|
2024-04-23 18:13:18 -05:00
|
|
|
"admin:event": "deno run -A scripts/admin-event.ts",
|
2024-05-14 15:55:19 -05:00
|
|
|
"admin:role": "deno run -A scripts/admin-role.ts",
|
|
|
|
"stats:recompute": "deno run -A scripts/stats-recompute.ts"
|
2023-03-04 19:55:28 -06:00
|
|
|
},
|
2024-04-23 01:36:03 -05:00
|
|
|
"unstable": ["ffi", "kv"],
|
2024-01-07 14:09:00 -06:00
|
|
|
"exclude": ["./public"],
|
2024-04-19 15:17:09 -05:00
|
|
|
"imports": {
|
|
|
|
"@/": "./src/",
|
2024-05-01 16:29:21 -05:00
|
|
|
"@bradenmacdonald/s3-lite-client": "jsr:@bradenmacdonald/s3-lite-client@^0.7.4",
|
2024-05-01 16:40:58 -05:00
|
|
|
"@db/sqlite": "jsr:@db/sqlite@^0.11.1",
|
2024-05-01 16:34:16 -05:00
|
|
|
"@isaacs/ttlcache": "npm:@isaacs/ttlcache@^1.4.1",
|
2024-05-01 16:35:39 -05:00
|
|
|
"@noble/secp256k1": "npm:@noble/secp256k1@^2.0.0",
|
2024-05-13 12:30:56 -05:00
|
|
|
"@nostrify/nostrify": "jsr:@nostrify/nostrify@^0.19.0",
|
2024-04-30 13:09:01 -05:00
|
|
|
"@sentry/deno": "https://deno.land/x/sentry@7.112.2/index.mjs",
|
2024-05-01 18:40:04 -05:00
|
|
|
"@soapbox/kysely-deno-sqlite": "jsr:@soapbox/kysely-deno-sqlite@^2.1.0",
|
2024-05-01 16:14:50 -05:00
|
|
|
"@soapbox/stickynotes": "jsr:@soapbox/stickynotes@^0.4.0",
|
2024-05-14 18:44:42 -05:00
|
|
|
"@std/assert": "jsr:@std/assert@^0.225.1",
|
2024-04-23 17:32:24 -05:00
|
|
|
"@std/cli": "jsr:@std/cli@^0.223.0",
|
2024-04-29 15:54:01 -05:00
|
|
|
"@std/crypto": "jsr:@std/crypto@^0.224.0",
|
2024-05-01 16:22:55 -05:00
|
|
|
"@std/dotenv": "jsr:@std/dotenv@^0.224.0",
|
2024-04-29 15:54:01 -05:00
|
|
|
"@std/encoding": "jsr:@std/encoding@^0.224.0",
|
2024-04-23 17:32:24 -05:00
|
|
|
"@std/json": "jsr:@std/json@^0.223.0",
|
2024-04-29 15:54:01 -05:00
|
|
|
"@std/media-types": "jsr:@std/media-types@^0.224.0",
|
2024-04-23 17:32:24 -05:00
|
|
|
"@std/streams": "jsr:@std/streams@^0.223.0",
|
2024-05-01 15:55:56 -05:00
|
|
|
"comlink": "npm:comlink@^4.4.1",
|
2024-05-01 16:29:21 -05:00
|
|
|
"fast-stable-stringify": "npm:fast-stable-stringify@^1.0.0",
|
2024-05-01 16:37:01 -05:00
|
|
|
"formdata-helper": "npm:formdata-helper@^0.3.0",
|
2024-04-20 18:54:15 -05: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-05-01 16:18:28 -05:00
|
|
|
"iso-639-1": "npm:iso-639-1@2.1.15",
|
2024-05-01 09:32:24 -05:00
|
|
|
"kysely": "npm:kysely@^0.27.3",
|
2024-04-23 15:03:20 -05:00
|
|
|
"kysely_deno_postgres": "https://deno.land/x/kysely_deno_postgres@v0.4.0/mod.ts",
|
2024-05-01 16:34:16 -05:00
|
|
|
"linkify-plugin-hashtag": "npm:linkify-plugin-hashtag@^4.1.1",
|
|
|
|
"linkify-string": "npm:linkify-string@^4.1.1",
|
|
|
|
"linkifyjs": "npm:linkifyjs@^4.1.1",
|
2024-05-01 16:29:21 -05:00
|
|
|
"lru-cache": "npm:lru-cache@^10.2.2",
|
2024-05-01 15:57:28 -05:00
|
|
|
"nostr-relaypool": "npm:nostr-relaypool2@0.6.34",
|
2024-05-01 09:27:19 -05:00
|
|
|
"nostr-tools": "npm:nostr-tools@^2.5.1",
|
|
|
|
"nostr-wasm": "npm:nostr-wasm@^0.1.0",
|
2024-05-01 16:19:53 -05:00
|
|
|
"tldts": "npm:tldts@^6.0.14",
|
2024-05-01 16:29:21 -05:00
|
|
|
"tseep": "npm:tseep@^1.2.1",
|
2024-05-01 16:16:19 -05:00
|
|
|
"type-fest": "npm:type-fest@^4.3.0",
|
2024-05-01 16:59:15 -05:00
|
|
|
"unfurl.js": "npm:unfurl.js@^6.4.0",
|
2024-05-01 16:21:18 -05:00
|
|
|
"uuid62": "npm:uuid62@^1.0.2",
|
2024-05-01 16:45:47 -05:00
|
|
|
"zod": "npm:zod@^3.23.5",
|
2024-04-23 17:32:24 -05:00
|
|
|
"~/fixtures/": "./fixtures/"
|
2024-04-19 15:17:09 -05:00
|
|
|
},
|
2023-03-04 19:55:28 -06:00
|
|
|
"lint": {
|
2023-08-14 18:46:35 -05:00
|
|
|
"include": ["src/", "scripts/"],
|
2023-03-04 19:55:28 -06:00
|
|
|
"rules": {
|
|
|
|
"tags": ["recommended"],
|
|
|
|
"exclude": ["no-explicit-any"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"fmt": {
|
2023-08-14 18:46:35 -05:00
|
|
|
"include": ["src/", "scripts/"],
|
2023-05-03 21:57:44 -05:00
|
|
|
"useTabs": false,
|
|
|
|
"lineWidth": 120,
|
|
|
|
"indentWidth": 2,
|
|
|
|
"semiColons": true,
|
|
|
|
"singleQuote": true,
|
|
|
|
"proseWrap": "preserve"
|
2023-03-04 19:55:28 -06:00
|
|
|
}
|
2024-03-17 15:44:49 -05:00
|
|
|
}
|