From d7597acefec0d838e2271ba50c0b2bdc8ecf2bbf Mon Sep 17 00:00:00 2001 From: filtered <176114999+webfiltered@users.noreply.github.com> Date: Mon, 30 Jun 2025 17:54:20 -0700 Subject: [PATCH] Add typecheck script to package.json (#1092) --- CLAUDE.md | 6 +++--- package.json | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 262647880..cebc67dac 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -9,9 +9,9 @@ # Bash commands -- `tsc` Run the typechecker -- `nr build` Build the project -- `nr lint:fix` Run ESLint +- `npm run typecheck` Run the typechecker +- `npm run build` Build the project +- `npm run lint:fix` Run ESLint # Code style diff --git a/package.json b/package.json index 2a5c98a44..1476de1b2 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,8 @@ "lint:fix": "eslint --fix", "lint:ci": "eslint src", "format": "prettier --check './src/*.{js,ts,tsx,vue,mts}'", - "format:fix": "prettier --write './src/*.{js,ts,tsx,vue,mts}'" + "format:fix": "prettier --write './src/*.{js,ts,tsx,vue,mts}'", + "typecheck": "tsc" }, "repository": { "type": "git",