TypeScript - type checking only and prettier format checking

less than 1 minute read

Run type script compiler to check types only.
Format checking with prettier

1
2
3
4
5
{
  "format:check": "prettier --check \"src/**/*.{js,ts,tsx}\"",
  "format": "prettier --write \"src/**/*.{js,ts,tsx}\"",
  "typecheck": "tsc --noEmit"
}