Skip to content

Commit

Permalink
fix(deno): Run deno serve instead of the deno run (#87)
Browse files Browse the repository at this point in the history
Since `deno run` doesn't treat the default exports.
  • Loading branch information
5ouma authored Oct 13, 2024
1 parent ebd98aa commit b0b84ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"exclude": ["**/*.test.ts", "src/libs/test_utils.ts"]
},
"tasks": {
"run": "deno run --env-file='.env' -EN='api.github.com'",
"start": "deno task run src/server.ts",
"dev": "deno task run --watch src/server.ts",
"serve": "deno serve --env-file='.env' -EN='api.github.com'",
"start": "deno task serve src/server.ts",
"dev": "deno task serve --watch src/server.ts",
"test": "deno test --doc -EN='api.github.com' --parallel --shuffle",
"cov": "deno task test --coverage && deno coverage --lcov > coverage.lcov"
},
Expand Down

0 comments on commit b0b84ca

Please sign in to comment.