-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdeno.jsonc
13 lines (13 loc) · 1.22 KB
/
deno.jsonc
1
2
3
4
5
6
7
8
9
10
11
12
13
{
"tasks": {
"cache": "deno cache --reload --lock=deno.lock --lock-write main.ts",
"check": "deno check --lock=deno.lock main.ts",
"compile": "deno task compile:macos && deno task compile:macos-arm && deno task compile:linux && deno task compile:windows",
"compile:macos": "deno compile --allow-env --allow-sys --allow-net --lock=lock.json --target x86_64-apple-darwin --output bin/macos/pspace main.ts",
"compile:macos-arm": "deno compile --allow-env --allow-sys --allow-net --lock=lock.json --target aarch64-apple-darwin --output bin/macos-arm/pspace main.ts",
"compile:linux": "deno compile --allow-env --allow-sys --allow-net --lock=lock.json --target x86_64-unknown-linux-gnu --output bin/linux/pspace main.ts",
"compile:windows": "deno compile --allow-env --allow-sys --allow-net --lock=lock.json --target x86_64-pc-windows-msvc --output bin/windows/pspace main.ts",
"generate": "cd .graphql && pnpm install && pnpm generate && cd .. && mv .graphql/paperspace-graphql.ts . && npx replace-in-files-cli --string='@graphql-typed-document-node/core' --replacement='https://esm.sh/@graphql-typed-document-node/core@3.1.1' paperspace-graphql.ts",
"run": "deno run --allow-env --allow-sys --allow-net main.ts"
}
}