From 3784c013a86316625df05d4284407a0ee033bb0b Mon Sep 17 00:00:00 2001 From: Rich-Harris Date: Tue, 22 Sep 2015 12:34:40 -0400 Subject: [PATCH] fix scripts --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b29639b..68690c4 100644 --- a/package.json +++ b/package.json @@ -8,10 +8,11 @@ "rollup": "./bin/rollup" }, "scripts": { + "pretest": "npm run build", "test": "mocha", + "pretest-coverage": "npm run build", "test-coverage": "istanbul cover --report cobertura node_modules/.bin/_mocha -- -u exports -R spec test/test.js", "ci": "npm run test-coverage && codecov < coverage/cobertura-coverage.xml", - "pretest": "npm run build", "build": "gobble build -f dist", "prepublish": "npm test", "lint": "eslint src"