From 8eff88d6ec2e150fb50c9ca9dfbbbd0e39834322 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Tue, 13 Dec 2016 20:12:08 +0800 Subject: [PATCH] update npm scripts --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 965609652a..214e6b3803 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "dist/data.json", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "start": "node build/compile.js", + "start": "node build/compile.js && npm run deploy", "deploy": "node build/deploy.js", "build:css": "stylus -u autoprefixer-stylus template/styl/index.styl -o .deploy/ -c", "watch:css": "stylus -u autoprefixer-stylus -w template/styl/index.styl -o .deploy/ -c"