-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeno.json
More file actions
76 lines (76 loc) · 2.51 KB
/
deno.json
File metadata and controls
76 lines (76 loc) · 2.51 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
{
"name": "deserve-react",
"description": "Deserve + React (SSR) implementation",
"type": "module",
"exports": "./src/Main.ts",
"compilerOptions": {
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"checkJs": false,
"exactOptionalPropertyTypes": true,
"jsx": "react",
"jsxFactory": "React.createElement",
"jsxFragmentFactory": "React.Fragment",
"lib": ["deno.ns", "deno.worker", "dom", "dom.asynciterable"],
"module": "nodenext",
"moduleResolution": "nodenext",
"noErrorTruncation": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"strict": true,
"strictBindCallApply": true,
"strictFunctionTypes": true,
"strictNullChecks": true,
"strictPropertyInitialization": true,
"useUnknownInCatchVariables": true
},
"fmt": {
"bracePosition": "sameLine",
"indentWidth": 2,
"lineWidth": 100,
"proseWrap": "preserve",
"semiColons": false,
"singleBodyPosition": "nextLine",
"singleQuote": true,
"spaceAround": false,
"spaceSurroundingProperties": true,
"trailingCommas": "never",
"useBraces": "always",
"useTabs": false
},
"lint": {
"include": ["src/", "routes/"],
"rules": {
"tags": ["fresh", "jsr", "jsx", "react", "recommended", "workspace"],
"exclude": ["no-console", "no-external-import", "prefer-ascii", "prefer-primordials"]
}
},
"lock": true,
"nodeModulesDir": "auto",
"tasks": {
"check": "deno fmt src/ routes/ && deno lint src/ routes/ && deno check src/Main.ts",
"start": "deno run --allow-env --allow-net --allow-read src/Main.ts",
"dev": "deno run --watch --allow-env --allow-net --allow-read src/Main.ts",
"build": "deno run --allow-read --allow-write --allow-env --allow-run --allow-ffi --allow-sys npm:vite build --outDir dist/client"
},
"imports": {
"@app/": "./src/",
"@routes/": "./routes/",
"@neabyte/deserve": "jsr:@neabyte/deserve@^0.8.0",
"@vitejs/plugin-react": "npm:@vitejs/plugin-react@^5.1.4",
"react": "npm:react@^19.2.4",
"react-dom": "npm:react-dom@^19.2.4",
"react-dom/server": "npm:react-dom@^19.2.4/server",
"vite": "npm:vite@^7.3.1"
},
"publish": {
"exclude": ["*.bench.ts", "*.spec.ts", "*.test.ts", ".github/", "bench/", "coverage/", "dist/"]
}
}