From 09d3c4d85e96b1f462d4c64db200623ee5592b44 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Sat, 3 Feb 2018 13:49:21 -0500 Subject: [PATCH] add prepublish script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c3d2669..82317cf 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,8 @@ "test": "mocha --opts mocha.opts", "pretest": "npm run build", "build": "rollup -c", - "dev": "rollup -cw" + "dev": "rollup -cw", + "prepublish": "npm test" }, "repository": "https://github.com/sveltejs/sapper", "keywords": [