-
Notifications
You must be signed in to change notification settings - Fork 0
/
deno.jsonc
75 lines (75 loc) · 3.19 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
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
{
"imports": {
"@deno/dnt": "jsr:@deno/dnt@^0.41.3",
"@std/assert": "jsr:@std/assert@^1.0.0",
"@std/fs": "jsr:@std/fs@^1.0.0",
"@std/jsonc": "jsr:@std/jsonc@^1.0.0",
"@std/path": "jsr:@std/path@^1.0.0",
"@std/streams": "jsr:@std/streams@^1.0.0",
"@std/testing": "jsr:@std/testing@^1.0.0",
"axios": "npm:axios@^1.7.3",
"axios-mock-adapter": "npm:axios-mock-adapter@^2.0.0",
"fetch-blob": "npm:fetch-blob@^4.0.0",
"fetch-mock": "npm:fetch-mock@^11.1.3",
"typescript": "npm:typescript@^5.4.5"
},
"nodeModulesDir": "auto",
"tasks": {
"build": "deno run -A scripts/build_npm.ts",
"check": "deno check src/**/*.ts",
"test": "deno test --allow-env=API_KEY,NODE_EXTRA_CA_CERTS --allow-net --doc --allow-read=./src/v1/tests/,./src/v2/tests/ src/**/tests/",
"test:single": "deno test --allow-env=API_KEY,NODE_EXTRA_CA_CERTS --allow-net --doc --allow-read=./src/v1/tests/,./src/v2/tests/",
"test:single:debug": "deno test --inspect-brk --allow-all",
"test:coverage": "deno task test --coverage=cov_profile --clean && deno coverage cov_profile --html --exclude=tests",
"watch": "deno task test --no-clear-screen --watch --shuffle --parallel",
"snapshot-update": "deno task test --allow-write=./src/v1/tests/__snapshots__,./src/v2/tests/__snapshots__ -- --update",
"format": "deno fmt && nixpkgs-fmt *.nix && yamllint . && yamlfmt .",
"lint": "deno lint",
"docs": "deno run --allow-read --allow-env --allow-run --allow-write=./docs/ npm:[email protected]",
"generate-v2-client": "rm -rf src/v2/generated && deno run --allow-read --allow-run --allow-env --allow-write=openapitools.json,node_modules,/tmp,/var --allow-net='search.maven.org,repo1.maven.org,oss.sonatype.org:443' npm:@openapitools/[email protected] generate",
"update-deno-lock": "deno cache --lock-write src/index.ts",
"update-flake-lock": "nix --option commit-lockfile-summary 'chore: update flake.lock' flake update --commit-lock-file",
"update": "deno run --allow-env --allow-read --allow-write='~/.local,.' --allow-run=git,deno --allow-net='api.jsr.io,jsr.io,registry.npmjs.org' jsr:@molt/cli",
"update:commit": "deno task -q update --commit"
},
"lint": {
"include": [
"src/"
],
"exclude": [
"src/**/fixtures/**/*.ts",
"src/v2/generated/",
"dist/",
"docs/"
],
"rules": {
"tags": [
"recommended"
],
"include": [
"ban-untagged-todo"
],
"exclude": [
"no-unused-vars"
]
}
},
"fmt": {
"useTabs": false,
"lineWidth": 80,
"indentWidth": 4,
"semiColons": false,
"singleQuote": true,
"proseWrap": "always",
"exclude": [
".pre-commit-config.yaml",
"cov_profile/",
"docs/",
"dist/",
"npm/",
"openapi/",
"src/**/tests/__snapshots__/**",
"src/v2/generated/"
]
}
}