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": [