-
Notifications
You must be signed in to change notification settings - Fork 0
/
deno.json
54 lines (54 loc) · 1.38 KB
/
deno.json
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
{
"compilerOptions": {
"exactOptionalPropertyTypes": true,
"noUncheckedIndexedAccess": true
},
"exclude": [
"coverage",
"npm"
],
"exports": "./mod.ts",
"fmt": {
"exclude": [
"CHANGELOG.md"
],
"lineWidth": 100,
"proseWrap": "preserve"
},
"imports": {
"tinygram": "./mod.ts"
},
"lint": {
"rules": {
"exclude": [
"ban-types",
"require-await"
],
"include": [
"explicit-module-boundary-types",
"no-console",
"no-top-level-await"
]
}
},
"lock": false,
"name": "@smol/gram",
"publish": {
"exclude": [
"**/*.test.ts"
],
"include": [
"deno.json",
"**/*.md",
"**/*.ts"
]
},
"tasks": {
"cdnup": "deno run --allow-read --allow-write=. --allow-net https://deno.land/x/cdnup@v1.2.0/main.ts --skip coverage --skip npm -w",
"codegen": "deno run --allow-read --allow-net --allow-env generateTgApi.ts > TgApi.ts && deno fmt TgApi.ts",
"dnt": "deno run -A https://deno.land/x/dntx@v0.5.0/mod.ts -n tinygram --no-script-module --declaration separate",
"test": "rm -rf coverage && deno test --doc --coverage --allow-read && deno coverage --lcov --output=coverage/lcov.info && deno check mod.ts && deno check generateTgApi.ts && deno lint",
"snapshot": "deno test --allow-read --allow-write=. -- --update"
},
"version": "2.6.0"
}