Skip to content

Commit

Permalink
Lint should also run compile to check types (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
xuhdev authored Jan 6, 2025
1 parent 60d8987 commit 29d38a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Hong Xu <[email protected]>",
"type": "module",
"scripts": {
"lint": "eslint *.ts *.mjs && prettier . --check && caddy fmt --diff Caddyfile.base",
"lint": "npm run compile && eslint *.ts *.mjs && prettier . --check && caddy fmt --diff Caddyfile.base",
"build": "podman build . -t app",
"start": "podman run -it --rm -p 3000:80 -p 3001:443 app",
"test": "NODE_TLS_REJECT_UNAUTHORIZED=0 vitest --run index.test.ts",
Expand Down

0 comments on commit 29d38a1

Please sign in to comment.