-
Notifications
You must be signed in to change notification settings - Fork 5
/
deno.json
65 lines (65 loc) · 1.79 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
55
56
57
58
59
60
61
62
63
64
65
{
"name": "@loongwoo/stc",
"version": "2.4.2",
"exports": "./mod.ts",
"tasks": {
"pack": "deno run -A src/pack.ts",
"dev": "deno task pack && deno run -A --watch=src src/main.ts --url='https://petstore3.swagger.io/api/v3/openapi.json' --lang=ts",
"serve": "deno run -A --watch=src src/service.ts",
"version": "echo '2.4.2' > release/version",
"build:npm": "deno run -A src/npm/build.ts",
"build:mac": "deno compile -A --target x86_64-apple-darwin --output release/stc src/main.ts",
"build:mac-m": "deno compile -A --target aarch64-apple-darwin --output release/stc-m src/main.ts",
"build:win": "deno compile -A --target x86_64-pc-windows-msvc --icon resources/stc.svg --output release/stc-win src/main.ts",
"build:linux": "deno compile -A --target x86_64-unknown-linux-gnu --output release/stc-linux src/main.ts"
},
"lint": {
"include": [
"src/",
"test/"
],
"exclude": [
"**/out/**/*",
"**/shared/**/*",
"**/template/**/*",
"dist",
"release"
]
},
"fmt": {
"include": [
"src/",
"test/"
],
"exclude": [
"**/shared/**/*",
"**/template/**/*",
"out/**/*",
"dist",
"release"
]
},
"test": {
"include": [
"test/",
"src/plugins/*/test/*"
],
"exclude": [
"out",
"dist"
]
},
"imports": {
"./": "./",
"/": "./",
"@deno-library/progress": "jsr:@deno-library/progress@^1.4.9",
"@deno/dnt": "jsr:@deno/dnt@^0.41.3",
"@eta-dev/eta": "jsr:@eta-dev/eta@^3.5.0",
"@std/assert": "jsr:@std/assert@^1.0.3",
"@std/cli": "jsr:@std/cli@^1.0.4",
"@std/datetime": "jsr:@std/datetime@^0.225.1",
"@std/fmt": "jsr:@std/fmt@^1.0.1",
"@std/fs": "jsr:@std/fs@^1.0.2",
"x/": "https://deno.land/x/"
}
}