From 1c3519304ba9daab6c94a3850e5bf456c8cd4b16 Mon Sep 17 00:00:00 2001 From: taoqiufeng Date: Wed, 14 Jun 2017 16:55:14 +0800 Subject: [PATCH] npm scripts --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index d681699..f3d3b97 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,10 @@ "description": "A very fast HTML parser, generating a simplified DOM, with basic element query support.", "main": "index.js", "scripts": { - "test": "gulp && mocha", - "build": "gulp" + "test": "mocha", + "build": "gulp", + "pretest": "gulp", + "prepublish": "gulp" }, "keywords": [ "fast html parser nodejs typescript"