ditto/deno.json

83 lines
3.7 KiB
JSON
Raw Normal View History

2023-03-05 01:55:28 +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
"tasks": {
"start": "deno run -A src/server.ts",
"dev": "deno run -A --watch src/server.ts",
"hook": "deno run --allow-read --allow-run --allow-write https://deno.land/x/deno_hooks@0.1.1/mod.ts",
2024-05-26 23:37:47 +00:00
"db:migrate": "deno run -A scripts/db-migrate.ts",
"debug": "deno run -A --inspect src/server.ts",
2024-05-05 14:56:20 +00:00
"test": "DATABASE_URL=\"sqlite://:memory:\" deno test -A --junit-path=./deno-test.xml",
2023-08-17 18:20:25 +00:00
"check": "deno check src/server.ts",
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",
2024-05-14 20:55:19 +00:00
"admin:role": "deno run -A scripts/admin-role.ts",
"setup": "deno run -A scripts/setup.ts",
"stats:recompute": "deno run -A scripts/stats-recompute.ts",
"soapbox": "curl -O https://dl.soapbox.pub/main/soapbox.zip && mkdir -p public && mv soapbox.zip public/ && cd public/ && unzip soapbox.zip && rm soapbox.zip"
2023-03-05 01:55:28 +00:00
},
2024-05-21 22:12:33 +00:00
"unstable": ["cron", "ffi", "kv", "worker-options"],
"exclude": ["./public"],
2024-04-19 20:17:09 +00:00
"imports": {
"@/": "./src/",
2024-05-01 21:29:21 +00:00
"@bradenmacdonald/s3-lite-client": "jsr:@bradenmacdonald/s3-lite-client@^0.7.4",
2024-05-01 21:40:58 +00:00
"@db/sqlite": "jsr:@db/sqlite@^0.11.1",
2024-05-01 21:34:16 +00:00
"@isaacs/ttlcache": "npm:@isaacs/ttlcache@^1.4.1",
2024-05-01 21:35:39 +00:00
"@noble/secp256k1": "npm:@noble/secp256k1@^2.0.0",
2024-06-13 23:43:04 +00:00
"@nostrify/nostrify": "jsr:@nostrify/nostrify@^0.23.2",
2024-05-27 02:26:59 +00:00
"@scure/base": "npm:@scure/base@^1.1.6",
"@sentry/deno": "https://deno.land/x/sentry@7.112.2/index.mjs",
"@soapbox/kysely-deno-sqlite": "jsr:@soapbox/kysely-deno-sqlite@^2.1.0",
2024-05-01 21:14:50 +00:00
"@soapbox/stickynotes": "jsr:@soapbox/stickynotes@^0.4.0",
2024-05-14 23:44:42 +00:00
"@std/assert": "jsr:@std/assert@^0.225.1",
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",
2024-05-01 21:22:55 +00:00
"@std/dotenv": "jsr:@std/dotenv@^0.224.0",
2024-04-29 20:54:01 +00:00
"@std/encoding": "jsr:@std/encoding@^0.224.0",
"@std/fs": "jsr:@std/fs@^0.229.3",
2024-04-23 22:32:24 +00:00
"@std/json": "jsr:@std/json@^0.223.0",
"@std/media-types": "jsr:@std/media-types@^0.224.1",
2024-04-23 22:32:24 +00:00
"@std/streams": "jsr:@std/streams@^0.223.0",
2024-05-01 20:55:56 +00:00
"comlink": "npm:comlink@^4.4.1",
"deno-safe-fetch/load": "https://gitlab.com/soapbox-pub/deno-safe-fetch/-/raw/v1.0.0/load.ts",
2024-05-21 17:21:35 +00:00
"entities": "npm:entities@^4.5.0",
2024-05-01 21:29:21 +00:00
"fast-stable-stringify": "npm:fast-stable-stringify@^1.0.0",
2024-05-01 21:37:01 +00:00
"formdata-helper": "npm:formdata-helper@^0.3.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-05-01 21:18:28 +00:00
"iso-639-1": "npm:iso-639-1@2.1.15",
2024-05-21 17:44:54 +00:00
"isomorphic-dompurify": "npm:isomorphic-dompurify@^2.11.0",
2024-05-01 14:32:24 +00:00
"kysely": "npm:kysely@^0.27.3",
2024-06-04 04:21:09 +00:00
"kysely_deno_postgres": "https://gitlab.com/soapbox-pub/kysely-deno-postgres/-/raw/main/mod.ts",
2024-05-01 21:34:16 +00: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 21:29:21 +00:00
"lru-cache": "npm:lru-cache@^10.2.2",
2024-05-01 20:57:28 +00:00
"nostr-relaypool": "npm:nostr-relaypool2@0.6.34",
2024-05-29 21:29:46 +00:00
"nostr-tools": "npm:nostr-tools@2.5.1",
"nostr-wasm": "npm:nostr-wasm@^0.1.0",
"question-deno": "https://raw.githubusercontent.com/ocpu/question-deno/10022b8e52555335aa510adb08b0a300df3cf904/mod.ts",
2024-05-01 21:19:53 +00:00
"tldts": "npm:tldts@^6.0.14",
2024-05-01 21:29:21 +00:00
"tseep": "npm:tseep@^1.2.1",
2024-05-01 21:16:19 +00:00
"type-fest": "npm:type-fest@^4.3.0",
2024-05-01 21:59:15 +00:00
"unfurl.js": "npm:unfurl.js@^6.4.0",
"zod": "npm:zod@^3.23.8",
2024-04-23 22:32:24 +00:00
"~/fixtures/": "./fixtures/"
2024-04-19 20:17:09 +00:00
},
2023-03-05 01:55:28 +00:00
"lint": {
"include": ["src/", "scripts/"],
2023-03-05 01:55:28 +00:00
"rules": {
"tags": ["recommended"],
"exclude": ["no-explicit-any"]
}
},
"fmt": {
"include": ["src/", "scripts/"],
"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
}