Check Typescript

This commit is contained in:
Louis Lam 2023-11-18 14:03:58 +08:00
parent 13c3dac44d
commit 2cca168d39
2 changed files with 4 additions and 0 deletions

View file

@ -53,5 +53,8 @@ jobs:
- name: Lint - name: Lint
run: pnpm run lint run: pnpm run lint
- name: Check Typescript
run: pnpm run check-ts
# more things can be add later like tests etc.. # more things can be add later like tests etc..

View file

@ -5,6 +5,7 @@
"scripts": { "scripts": {
"fmt": "eslint \"**/*.{ts,vue}\" --fix", "fmt": "eslint \"**/*.{ts,vue}\" --fix",
"lint": "eslint \"**/*.{ts,vue}\"", "lint": "eslint \"**/*.{ts,vue}\"",
"check-ts": "tsc --noEmit",
"start": "tsx ./backend/index.ts", "start": "tsx ./backend/index.ts",
"dev:backend": "cross-env NODE_ENV=development tsx watch ./backend/index.ts", "dev:backend": "cross-env NODE_ENV=development tsx watch ./backend/index.ts",
"dev:frontend": "cross-env NODE_ENV=development vite --host --config ./frontend/vite.config.ts", "dev:frontend": "cross-env NODE_ENV=development vite --host --config ./frontend/vite.config.ts",