-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeno.jsonc
More file actions
53 lines (48 loc) · 1.35 KB
/
Copy pathdeno.jsonc
File metadata and controls
53 lines (48 loc) · 1.35 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
{
"$schema": "https://deno.land/x/deno/cli/schemas/config-file.v1.json",
// Enable node_modules directory for Vitest compatibility
// Creates physical node_modules instead of using Deno's global cache
"nodeModulesDir": "auto",
// Tasks for common operations (use `deno task <name>` to run)
"tasks": {
// Dependency management
"install": "deno install --node-modules-dir=auto",
// Testing (requires Node due to worker thread limitations)
// Use npm commands which leverage deno-created node_modules
"test": "node node_modules/vitest/vitest.mjs run",
"test:watch": "node node_modules/vitest/vitest.mjs",
"test:coverage": "node node_modules/vitest/vitest.mjs run --coverage"
},
"lint": {
// The game engine (jimothy.js) is untouched by this pass and excluded
// below to keep this diff to the extracted logic + new tooling.
"include": [
"logic.js",
"__tests__/**/*.js"
],
"exclude": [
"jimothy.js",
"node_modules/",
"coverage/"
],
"rules": {
"tags": ["recommended"]
}
},
"fmt": {
"include": [
"logic.js",
"__tests__/**/*.js"
],
"exclude": [
"jimothy.js",
"node_modules/",
"coverage/"
],
"indentWidth": 2,
"lineWidth": 100,
"semiColons": true,
"singleQuote": true,
"proseWrap": "preserve"
}
}