-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeno.jsonc
More file actions
99 lines (99 loc) · 2.85 KB
/
deno.jsonc
File metadata and controls
99 lines (99 loc) · 2.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"tasks": {
"rundev": {
"description": "Run the local development build",
"command": "deno run -A --watch --unstable-cron --env-file=.env.local main.ts"
},
"runprod": {
"description": "Run the local production build",
"command": "deno run -A --watch --unstable-cron --env-file=.env.production main.ts"
},
// Dev Tools
"test": {
"description": "Run the tests",
"command": "deno test -A --unstable-kv --no-check"
},
"testauth": {
"description": "Run only authentication tests",
"command": "deno test -A --unstable-kv --no-check tests/auth-test.ts"
},
// Resend API
"resendcheck": {
"description": "Tests the Resend API",
"command": "deno run -A --watch --unstable-cron --env-file=.env.local ./utils/emails/sendTest.ts"
},
// Neo4j API
"n4jseedl": {
"description": "Seed the local instance of neo4j",
"command": "deno run -A --env-file=.env.local queries/seed.ts"
},
"n4jseedp": {
"description": "Seed the production instance of neo4j",
"command": "deno run -A --env-file=.env.production queries/seed.ts"
},
"n4jresetl": {
"description": "Reset the local instance of neo4j",
"command": "deno run -A --env-file=.env.local queries/reset.ts"
},
"n4jresetp": {
"description": "Reset the production instance of neo4j",
"command": "deno run -A --env-file=.env.production queries/reset.ts"
},
// Auth
"auth": {
"description": "Run the authentication workflow",
"command": "deno run -A --env-file=.env.local utils/auth.ts"
}
},
"imports": {
// JSR
"oak": "jsr:@oak/oak",
"dotenv": "jsr:@std/dotenv",
// NPM
"compromise": "npm:compromise@14.10.0",
"neo4j": "npm:neo4j-driver@^5.27.0",
"supabase": "jsr:@supabase/supabase-js@2",
"zod": "npm:zod",
// Filepath
"api/": "./api/",
"authApi/": "./api/auth/",
"neo4jApi/": "./api/neo4j/",
"resendApi/": "./api/resend/",
"content/": "./content/",
"data": "./data/",
"routes/": "./routes/",
"authRoutes/": "./routes/authRoutes/",
"dbRoutes/": "./routes/dbRoutes/",
"emailRoutes/": "./routes/emailRoutes/",
"utils/": "./utils/",
"credUtils/": "./utils/creds/",
"dbUtils/": "./utils/db/",
"devUtils/": "./utils/dev/",
"langUtils/": "./utils/lang/",
"types/": "./types/"
},
"unstable": [ "cron", "kv" ],
"fmt": {
"semiColons": true,
"singleQuote": false,
"proseWrap": "preserve",
// tdLo: Deno Format rules ({ "markdown": { "wordWrap": "on" }})
"include": [],
"exclude": [
"./deno.jsonc",
"./content/",
"./data/"
]
},
"lint": {
"rules": {
"tags": [ "recommended" ],
"include": [],
"exclude": [
"ban-untagged-todo",
"no-unused-vars",
"no-explicit-any"
]
}
}
}