-
Notifications
You must be signed in to change notification settings - Fork 0
/
deno.json
31 lines (31 loc) · 1.65 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
{
"workspace": ["cli"],
"nodeModulesDir": "auto",
"tasks": {
"test": "deno test -A",
"dev": "deno run -A --watch cli/src/index.ts",
"build": "deno task build:linux & deno task build:mac && deno task build:windows",
"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",
"build:windows": "deno compile -A --target x86_64-pc-windows-msvc --no-check --output dist/slv-x86_64-pc-windows-msvc-exe cli/src/index.ts && tar -czvf dist/slv-x86_64-pc-windows-msvc-exe.tar.gz dist/slv-x86_64-pc-windows-msvc-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"
},
"imports": {
"@/": "./",
"@cmn/": "./cmn/",
"@elsoul/child-process": "jsr:@elsoul/[email protected]",
"@std/assert": "jsr:@std/assert@1",
"@std/dotenv": "jsr:@std/[email protected]",
"@cliffy": "https://deno.land/x/[email protected]/command/mod.ts",
"@triton-one/yellowstone-grpc": "npm:@triton-one/[email protected]",
"bs58": "npm:[email protected]"
},
"compilerOptions": {
"checkJs": true
},
"fmt": {
"semiColons": false,
"singleQuote": true
}
}