From a0e608be3a82d1f26ccd9b153762c84c91ff096c Mon Sep 17 00:00:00 2001 From: Bronley Plumb Date: Sat, 17 Oct 2020 23:11:01 -0400 Subject: [PATCH] run validation before npm version --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 4c64a63..bcdd6eb 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "license": "MIT", "description": "A Promise-like implementation for BrightScript/Roku", "scripts": { + "preversion": "npm run validate", "validate": "bsc --create-package=false --copy-to-staging=false" }, "devDependencies": {