diff --git a/package.json b/package.json index e0833da..ff3bca6 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "dist" ], "scripts": { + "prepare": "npm run test && npm run build", "build": "rimraf dist && npm run build:umd & npm run build:es & npm run build:unpkg", "build:umd": "rollup --config build/rollup.config.js --format umd --file dist/vue-datocms.umd.js", "build:es": "rollup --config build/rollup.config.js --format es --file dist/vue-datocms.esm.js",