ditto/deno.json

40 lines
1.3 KiB
JSON
Raw Normal View History

2023-03-05 01:55:28 +00:00
{
2023-05-04 03:46:23 +00:00
"$schema": "https://deno.land/x/deno@v1.32.3/cli/schemas/config-file.v1.json",
2023-03-05 01:55:28 +00:00
"lock": false,
"tasks": {
2024-01-31 22:43:14 +00:00
"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",
2024-04-19 03:00:02 +00:00
"test": "DATABASE_URL=\"sqlite://:memory:\" deno test -A --unstable-ffi",
2023-08-17 18:20:25 +00:00
"check": "deno check src/server.ts",
"relays:sync": "deno run -A --unstable-ffi scripts/relays.ts sync",
2024-03-30 20:25:41 +00:00
"nsec": "deno run scripts/nsec.ts"
2023-03-05 01:55:28 +00:00
},
"exclude": ["./public"],
2024-04-19 20:17:09 +00:00
"imports": {
"@/": "./src/",
"@nostrify/nostrify": "jsr:@nostrify/nostrify@^0.9.7",
"~/fixtures/": "./fixtures/",
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-20 02:08:13 +00:00
"kysely_deno_postgres": "https://deno.land/x/kysely_deno_postgres@v0.4.0/mod.ts"
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
}