forked from kawarimidoll/bluestream
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeno.jsonc
23 lines (23 loc) · 1.33 KB
/
deno.jsonc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"imports": {
"std/": "https://deno.land/[email protected]/",
"markup_tag": "https://deno.land/x/[email protected]/mod.ts",
"@atproto/api": "npm:@atproto/[email protected]"
},
"tasks": {
// runner
"dev": "deno run --allow-env=DENO_DEPLOYMENT_ID,BLUESKY_IDENTIFIER,BLUESKY_PASSWORD --allow-read=index.html,.env --allow-net=0.0.0.0,bsky.social --watch server.ts",
// development
"test": "deno test --allow-env=DENO_DEPLOYMENT_ID,BLUESKY_IDENTIFIER,BLUESKY_PASSWORD --allow-read=.env --allow-net=bsky.social --allow-none",
"cov": "deno task test --coverage=cov_profile; deno coverage cov_profile",
"lint": "deno lint --ignore=cov_profile",
"fmt": "deno fmt --ignore=cov_profile",
"ci": "deno task lint && deno task fmt --check && deno task test",
"deps": "deno run --allow-read --allow-write --allow-net --allow-run https://deno.land/x/[email protected]/main.ts --test='deno task test' deno.jsonc",
// git hooks
"setup-hooks": "deno run --allow-read --allow-run https://pax.deno.dev/kawarimidoll/[email protected]/scripts/setup-hooks.ts",
"commit-msg": "npx commitlint -x @commitlint/config-conventional -e \"$1\"",
"pre-commit": "deno run --allow-read --allow-env --allow-run --allow-write https://pax.deno.dev/kawarimidoll/[email protected]/scripts/lint-staged.ts",
"pre-push": "deno task ci"
}
}