From 16c172668fb6e7f06f3692ffd9dafa414d7be864 Mon Sep 17 00:00:00 2001 From: "avenwu.wwb" Date: Mon, 29 Feb 2016 10:40:02 +0800 Subject: [PATCH] npm scripts --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b9a122714..2b987bf30 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,10 @@ "weinre": "2.0.0-pre-I0Z7U9OV" }, "scripts": { - "start": "node app.js" + "run": "node bin/whistle.js run -p 8888", + "start": "node bin/whistle.js start -p 8888", + "restart": "node bin/whistle.js restart", + "stop": "node bin/whistle.js stop" }, "engines": { "node": ">= 0.10.0"