-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdeno.jsonc
44 lines (44 loc) · 1.4 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
35
36
37
38
39
40
41
42
43
44
{
"tasks": {
"setup": "pnpm install --frozen-lockfile",
"all": {
"dependencies": ["typecheck", "test", "lint", "build"],
"command": "echo '🎉'"
},
"test": "./scripts/run_tests.ts",
"typecheck": "pnpm tsc",
"cleanup_build": "rm -rf ./lib ./dist",
"build": {
"dependencies": ["cleanup_build"],
"command": "./scripts/build.ts"
},
"update_flake": "nix flake update --commit-lock-file",
"sync_node_deps": {
"command": "./scripts/sync_versions.ts"
},
"sync_workflow_deps": {
"command": "git ls-files '.github' | xargs nix run 'github:kachick/selfup/v1.1.9' -- run"
},
"check_no_git_diff": {
"description": "Prevent unexpected commits",
"command": "(git add --intent-to-add . && git diff --exit-code) || (echo 'You should commit all diff before running tests'; exit 1)"
},
"fmt": "dprint fmt && git ls-files '*.nix' | xargs nixfmt",
"lint": "./scripts/lint.ts",
"repl": "pnpm tsx", // Don't use deno REPL for this purpose. Finally the code will work on Node.js.
"deps": {
"description": "Print development dependencies and the versions",
"command": "./scripts/deps.ts"
}
},
"lint": {
"include": ["."],
"exclude": ["dist/", "node_modules/", "logs/", "dependencies/"],
"rules": {
"tags": ["recommended"]
}
},
"imports": {
"@david/dax": "jsr:@david/dax@^0.42.0"
}
}