From 8675d66479b85669bb61c708b6a06236117d4db4 Mon Sep 17 00:00:00 2001 From: Justin Beaudry Date: Sat, 1 Sep 2018 13:20:06 -0700 Subject: [PATCH] run tests before building inn prepublish --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4c122e5..33de646 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "build-browser": "rm -rf dist && npx rollup -c", "generate-docs": "rm -rf docs && npx jsdoc -c ./.jsdoc.json", "serve-docs": "cd docs && python -m SimpleHTTPServer", - "prepublishOnly": "npm run build-prod; npm run generate-docs;npm test" + "prepublishOnly": "npm test;npm run build-prod; npm run generate-docs" }, "keywords": [ "joi",