-
Notifications
You must be signed in to change notification settings - Fork 280
/
deno.jsonc
34 lines (34 loc) · 1.58 KB
/
deno.jsonc
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
{
"tasks": {
"doc": "deno task doc:cli & deno task doc:lua && deno fmt",
"doc:cli": "deno run --allow-run=./cataclysm-bn-tiles --allow-write=doc/src/content/docs ./scripts/gen_cli_docs.ts",
"doc:lua": "./cataclysm-bn-tiles --lua-doc && cp config/lua_doc.md doc/src/content/docs/en/mod/lua/reference/lua.md",
"migrate-unit": "deno run -A scripts/migrate_legacy_unit.ts --path data/json; deno run -A scripts/migrate_legacy_unit.ts --path data/mods; make style-all-json-parallel",
"dprint": "deno run -A npm:dprint",
// creates a weekly reddit changelog template
"changelog": "deno run -A scripts/changelog/changelog_reddit.ts",
"affected-files": "deno run -RWEN --allow-run scripts/affected_files.ts"
},
"test": { "include": ["scripts"] },
"lint": { "include": ["scripts"] },
"fmt": {
"exclude": ["doc/dist", "doc/.astro", "doc/pnpm-lock.yaml"],
"include": ["scripts", "doc", "*.md"],
"semiColons": false,
"lineWidth": 100
},
"imports": {
"$asynciter/": "https://deno.land/x/[email protected]/",
"$catjazz/": "https://deno.land/x/[email protected]/",
"$outdent/": "https://deno.land/x/[email protected]/",
"$zod/": "https://deno.land/x/[email protected]/",
"@cliffy/command": "jsr:@cliffy/command@^1.0.0-rc.7",
"@cliffy/flags": "jsr:@cliffy/flags@^1.0.0-rc.7",
"@std/assert": "jsr:@std/assert@^1.0.6",
"@std/collections": "jsr:@std/collections@^1.0.7",
"@std/front-matter": "jsr:@std/front-matter@^1.0.5",
"@std/fs": "jsr:@std/fs@^1.0.4",
"@std/path": "jsr:@std/path@^1.0.6",
"@std/yaml": "jsr:@std/yaml@^1.0.5"
}
}