-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeno.json
More file actions
92 lines (92 loc) · 2.82 KB
/
deno.json
File metadata and controls
92 lines (92 loc) · 2.82 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
{
"name": "@neabyte/idx-api",
"type": "module",
"license": "MIT",
"exports": "./src/index.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/"],
"rules": {
"tags": ["fresh", "jsr", "jsx", "react", "recommended", "workspace"],
"exclude": ["no-console", "no-external-import", "prefer-ascii", "prefer-primordials"]
}
},
"lock": true,
"nodeModulesDir": "auto",
"test": {
"include": ["tests/**/*.ts"],
"exclude": ["tests/**/*.d.ts"]
},
"tasks": {
"check": "deno fmt src/ && deno lint src/ && deno check src/",
"discover": "deno run --allow-net --allow-read --allow-write src/index.ts",
"test": "deno fmt tests/ && deno lint tests/ && deno test --allow-net --allow-write --allow-read --no-check",
"db:generate": "deno run -A npm:drizzle-kit generate",
"db:push": "deno run -A npm:drizzle-kit push",
"db:sync": "deno task db:generate --config drizzle.config.json && deno task db:push --config drizzle.config.json && deno run -A npm:drizzle-kit push --force"
},
"imports": {
"@db/sqlite": "jsr:@db/sqlite@^0.13.0",
"@libsql/client": "npm:@libsql/client@^0.17.0",
"@std/assert": "jsr:@std/assert@^1.0.18",
"@app/": "./src/",
"@data/": "./data/",
"@tests": "./tests/",
"drizzle-kit": "npm:drizzle-kit@^0.31.9",
"drizzle-orm": "npm:drizzle-orm@^0.45.1",
"drizzle-orm/sqlite-core": "npm:drizzle-orm@^0.45.1/sqlite-core"
},
"publish": {
"exclude": [
"*.bench.ts",
"*.spec.ts",
"*.test.ts",
".github/",
"bench/",
"build.config.ts",
"coverage/",
"tests/"
]
}
}