Skip to content

Commit

Permalink
Adding deno.config with build and test tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
otherJL0 committed Dec 6, 2022
1 parent 405c7af commit 9090560
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.DS_Store
tea
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"deno.lint": true,
"deno.unstable": true,
"deno.importMap": "./import-map.json",
"deno.config": "./tsconfig.json",
"deno.config": "./deno.json",
"markdownlint.config": {
"extends": "./.github/markdownlint.yml"
}
}
}
18 changes: 18 additions & 0 deletions deno.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"compilerOptions": {
"allowJs": false,
"strict": true
},
"importMap": "import-map.json",
"tasks": {
"build": "deno compile --allow-read --allow-write --allow-net --allow-run --allow-env --unstable --output tea src/app.ts",
"test": "deno test --allow-read --allow-write --allow-net --allow-run --allow-env --unstable"
},
"fmt": {
"files": {
"exclude": [
"./"
]
}
}
}

0 comments on commit 9090560

Please sign in to comment.