ditto/deno.json

32 lines
1.0 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": {
2023-08-09 00:36:58 +00:00
"start": "deno run --allow-read --allow-write=data --allow-env --allow-net --unstable src/server.ts",
"dev": "deno run --allow-read --allow-write=data --allow-env --allow-net --unstable --watch src/server.ts",
"debug": "deno run --allow-read --allow-write=data --allow-env --allow-net --unstable --inspect src/server.ts",
2023-08-10 18:37:56 +00:00
"test": "DB_PATH=\":memory:\" deno test --allow-read --allow-write=data --allow-env --unstable src",
"check": "deno check --unstable src/server.ts",
"relays:sync": "deno run -A --unstable scripts/relays.ts sync",
2023-03-05 01:55:28 +00:00
},
"imports": {
2023-08-10 19:56:27 +00:00
"@/": "./src/",
"~/": "./"
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
}
}