Skip to content

Commit

Permalink
chore: update deno config
Browse files Browse the repository at this point in the history
  • Loading branch information
lowlighter committed May 9, 2024
1 parent 26ea5d7 commit ebe4ab5
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
{
"tasks": {
"testing": "deno run --allow-net --allow-read --allow-env --allow-sys --watch app/mod.ts serve",
"ci": "deno task lint && deno task fmt:check && deno task build",
"serve": "deno run --allow-net --allow-read --allow-env --allow-sys --watch app/mod.ts serve",
"build": "deno run --allow-net --allow-read --allow-env --allow-sys --allow-write=.pages app/mod.ts build",
"fmt": "deno run --allow-read --allow-env --allow-sys --allow-write=styles app/fmt.ts",
"fmt:check": "deno run --allow-read --allow-env --allow-sys --allow-write=styles app/fmt.ts --check",
"lint": "deno lint",
"fmt": "deno task fmt:ts && deno task fmt:css",
"fmt:check": "deno task fmt:ts:check && deno task fmt:css:check",
"fmt:ts": "deno fmt",
"fmt:ts:check": "deno fmt --check",
"fmt:css": "deno run --allow-read --allow-env --allow-sys --allow-write=styles https://deno.land/x/libs/bundle/css/fmt.ts styles/**/*.css",
"fmt:css:check": "deno run --allow-read --allow-env --allow-sys --allow-write=styles https://deno.land/x/libs/bundle/css/fmt.ts --check styles/**/*.css"
},
"fmt": {
"semiColons": false,
"lineWidth": 200,
"exclude": [
"coverage"
]
Expand Down

0 comments on commit ebe4ab5

Please sign in to comment.