From 7b9bf3d582ffb749226e2f7b249e2f36c8aa88c4 Mon Sep 17 00:00:00 2001 From: Calvin Metcalf Date: Wed, 27 Jul 2016 11:58:10 -0400 Subject: [PATCH] build before testing --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index a2474ef..b28024d 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ ], "main": "lib/index.js", "scripts": { + "pretest": "npm run build", "test": "npm run jshint && mocha -R nyan ./test/cover.js", "build-node": "copyfiles -f src/index.js lib && browserify-transform-cli inline-process-browser unreachable-branch-transform es3ify < src/index.js > lib/browser.js", "build-js": "browserify -s Promise -p bundle-collapser/plugin . | derequire > ./dist/lie.js",