Skip to content

Commit 4096096

Browse files
committed
Add pnpm check command
1 parent 3785add commit 4096096

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,15 @@
66
"scripts": {
77
"dev": "vite",
88
"build": "tsc && vite build",
9-
"lint": "eslint ./src --report-unused-disable-directives --max-warnings 0",
9+
"check-ts": "tsc --noEmit",
10+
"check-lint": "eslint ./src --report-unused-disable-directives --max-warnings 0",
1011
"preview": "vite preview",
1112
"find-unused": "ts-unused-exports ./tsconfig.json --showLineNumber",
1213
"format": "prettier --write ./src",
14+
"check-format": "prettier --check ./src",
1315
"test": "vitest run --passWithNoTests",
14-
"test:watch": "vitest --watch"
16+
"test:watch": "vitest --watch",
17+
"check": "pnpm run lint && pnpm run check-ts && pnpm run find-unused && pnpm run check-format && pnpm run test"
1518
},
1619
"dependencies": {
1720
"@tailwindcss/vite": "^4.1.7",

0 commit comments

Comments
 (0)