diff --git a/site/package.json b/site/package.json index 1b16f4b04a..8e4ad7936c 100644 --- a/site/package.json +++ b/site/package.json @@ -13,8 +13,9 @@ "format:types": "prettier --write 'src/api/typesGenerated.ts'", "format:write": "prettier --write '../**/*.{css,html,js,json,jsx,md,ts,tsx,yaml,yml}'", "format:write:only": "prettier --write", - "lint": "jest --selectProjects lint", + "lint": "yarn typegen && yarn run lint:types && jest --selectProjects lint", "lint:fix": "FIX=true yarn lint", + "lint:types": "tsc --noEmit", "playwright:install": "playwright install --with-deps chromium", "playwright:test": "playwright test --config=e2e/playwright.config.ts", "storybook": "STORYBOOK=true storybook dev -p 6006",