-
Notifications
You must be signed in to change notification settings - Fork 0
/
deno.json
40 lines (40 loc) · 2.08 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
{
"workspace": ["cli"],
"nodeModulesDir": "auto",
"tasks": {
"test": "deno test -A",
"s": "deno run -A cli/src/index.ts",
"dev": "deno run -A --watch cli/src/index.ts",
"build:all": "deno task build && deno task upload:script && deno task upload:exe && deno task upload:template && deno task purge:cache",
"build": "deno task build:linux & deno task build:mac",
"build:linux": "deno compile -A --target x86_64-unknown-linux-gnu --no-check --output dist/slv-x86_64-unknown-linux-gnu-exe cli/src/index.ts && tar -czvf dist/slv-x86_64-unknown-linux-gnu-exe.tar.gz dist/slv-x86_64-unknown-linux-gnu-exe",
"build:mac": "deno compile -A --target x86_64-apple-darwin --no-check --output dist/slv-x86_64-apple-darwin-exe cli/src/index.ts && tar -czvf dist/slv-x86_64-apple-darwin-exe.tar.gz dist/slv-x86_64-apple-darwin-exe",
"upload:script": "cd ./sh/ && aws --endpoint-url=https://278a7109e511280594fe6a2ebb778333.r2.cloudflarestorage.com/slv s3 cp install s3://slv/ --content-disposition 'attachment; filename=install'",
"upload:exe": "deno run -A cli/uploadExe.ts",
"upload:template": "tar -czf dist/template.tar.gz ./template/0.3.4 && deno run -A cli/uploadTemplate.ts",
"purge:cache": "deno run -A cmn/lib/purgeR2Cache.ts",
"slv-dev": "npm run --prefix website/slv-dev"
},
"imports": {
"@/": "./",
"@cmn/": "./cmn/",
"@elsoul/child-process": "jsr:@elsoul/[email protected]",
"@std/assert": "jsr:@std/assert@1",
"@std/dotenv": "jsr:@std/[email protected]",
"@std/path": "jsr:@std/[email protected]",
"@cliffy": "https://deno.land/x/[email protected]/command/mod.ts",
"@cliffy/prompt": "https://deno.land/x/[email protected]/prompt/mod.ts",
"@cliffy/colors": "https://deno.land/x/[email protected]/ansi/colors.ts",
"@cliffy/table": "https://deno.land/x/[email protected]/table/mod.ts",
"@triton-one/yellowstone-grpc": "npm:@triton-one/[email protected]",
"bs58": "npm:[email protected]"
},
"compilerOptions": {
"checkJs": true
},
"fmt": {
"semiColons": false,
"singleQuote": true,
"exclude": ["./website"]
}
}