diff --git a/package.json b/package.json index a49fe9d6d..9aa84fefc 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,8 @@ "build:main": "node scripts/main.js", "ts:defs": "./scripts/definitions.sh", "build": "npm run build:main && npm run ts:defs && npm run build:locale", - "cover": "jest --coverage" + "cover": "jest --coverage", + "prepublishOnly": "npm run build && npm run ts:defs" }, "keywords": [ "VueJS",