From 6241d6b20056472e584f3c30fa320da085cedb83 Mon Sep 17 00:00:00 2001 From: Stefano Verna Date: Tue, 24 Mar 2020 15:44:03 +0100 Subject: [PATCH] Add prepare task --- package.json | 1 + 1 file changed, 1 insertion(+) 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",