diff --git a/package.json b/package.json index 895a592..a1dfe88 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "scripts": { "start": "parcel index.html", "build": "parcel build index.html --no-source-maps --detailed-report", + "prebuild": "yarn run typecheck", "typecheck": "tsc --noEmit --jsx preserve", "lint": "eslint --ext .ts,.tsx,.js .", "lint-fix": "eslint --ext .ts,.tsx,.js . --fix"