diff --git a/package.json b/package.json index 437374b..dd64a1b 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,8 @@ "compile": "tsc -p ./tsconfig.json", "test": "jest", "lint": "eslint . --ext .ts,.js,.tsx --max-warnings=0", - "lint:report": "eslint . --output-file ./eslint_report.json --format json --ext .ts,.js,.tsx | true" + "lint:report": "eslint . --output-file ./eslint_report.json --format json --ext .ts,.js,.tsx | true", + "prepublishOnly": "tsc -p ./tsconfig.json" }, "dependencies": { "react-native-modal": "11.5.6"