-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeno.jsonc
More file actions
49 lines (49 loc) · 2.3 KB
/
Copy pathdeno.jsonc
File metadata and controls
49 lines (49 loc) · 2.3 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
{
"imports": {
"@/": "./",
"@react-email/components": "npm:@react-email/components@^0.2.0",
"@react-email/head": "npm:@react-email/head@^0.0.12",
"@react-email/preview-server": "npm:@react-email/preview-server@4.1.0",
"@react-email/tailwind": "npm:@react-email/tailwind@^1.1.0",
// Drizzle-orm and drizzle-kit are needed here for node-modules-dir compatibility
// See `scripts/db-generate.ts` for more info
"drizzle-orm": "npm:drizzle-orm@^0.38.0",
"drizzle-kit": "npm:drizzle-kit@^0.31.4",
"drizzle-zod": "npm:drizzle-zod@^0.7.0",
"zod": "npm:zod@^3.25.1",
"react": "npm:react@^19.1.0",
"react-dom": "npm:react-dom@^19.1.0",
"react-email": "npm:react-email@^4.1.0"
},
"nodeModulesDir": "auto",
"tasks": {
// Used to run the server in production
"start": "deno run --allow-net --allow-env --allow-sys --allow-read --node-modules-dir main.ts",
// Development server with watcher
"dev": "infisical run --path=/backend -- deno run --allow-net --allow-env --allow-sys --allow-read --node-modules-dir --watch --allow-write --allow-run main.ts",
// Generates the migrations
"db:generate": "infisical run --path=/backend -- deno run -A --unstable-ffi scripts/db-generate.ts",
// Migrates the database
"db:migrate": "infisical run --path=/backend -- deno run -A scripts/db-migrate.ts",
// Seeds the database with test data
"db:seed": "infisical run --path=/backend -- deno run -A scripts/db-seed.ts",
// Tests with watcher
"test:dev": "infisical run --path=/backend -- deno test --allow-net --allow-env --allow-sys --allow-read --allow-write --allow-run --unstable-raw-imports --node-modules-dir --watch",
// One-off test all
"test": "deno test --allow-net --allow-env --allow-sys --allow-read --unstable-raw-imports --node-modules-dir --parallel",
"admin": "infisical run --path=/backend -- deno run -A scripts/admin.ts",
"email:dev": "infisical run --path=/backend -- deno run -A --node-modules-dir npm:react-email dev",
"email:build": "infisical run --path=/backend -- deno run -A --node-modules-dir npm:react-email export --outDir=emails/compiled"
},
"lint": {
"rules": {
"include": [
"no-console"
]
}
},
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "react"
}
}