From e8df434bfe94e87aa27bc6ddfcb62cc5df37f101 Mon Sep 17 00:00:00 2001 From: Zac Colley Date: Mon, 17 Oct 2016 18:56:27 +0100 Subject: [PATCH] refactor(scripts): move pre test scripts into pretest moves the pre test scripts such as example and linting into the pretest script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index dc9321c..b01b0d2 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "scripts": { "lint": "semistandard --verbose | snazzy", "example": "node example.js", - "test": "npm run lint && npm run example && ./node_modules/.bin/mocha --reporter spec", + "pretest": "npm run lint && npm run example", + "test": "./node_modules/.bin/mocha --reporter spec", "semantic-release": "semantic-release pre && npm publish && semantic-release post" }, "keywords": [