Authored by 李奇

添加上传script

@@ -12,6 +12,7 @@ @@ -12,6 +12,7 @@
12 "dev": "nodemon -e js,hbs -i public/ app.js", 12 "dev": "nodemon -e js,hbs -i public/ app.js",
13 "static": "webpack-dev-server --config ./public/build/webpack.dev.config.js", 13 "static": "webpack-dev-server --config ./public/build/webpack.dev.config.js",
14 "build": "webpack --config ./public/build/webpack.prod.config.js", 14 "build": "webpack --config ./public/build/webpack.prod.config.js",
  15 + "upload": "yo-cli upload",
15 "online": "NODE_ENV=\"production\" node app.js", 16 "online": "NODE_ENV=\"production\" node app.js",
16 "debug": "DEBUG=\"express:*\" nodemon -e js,hbs -i public/ app.js", 17 "debug": "DEBUG=\"express:*\" nodemon -e js,hbs -i public/ app.js",
17 "lint-js": "eslint -c .eslintrc --cache --fix .", 18 "lint-js": "eslint -c .eslintrc --cache --fix .",
@@ -56,7 +57,6 @@ @@ -56,7 +57,6 @@
56 "sitemap": "^1.12.1", 57 "sitemap": "^1.12.1",
57 "urlencode": "^1.1.0", 58 "urlencode": "^1.1.0",
58 "uuid": "^2.0.2", 59 "uuid": "^2.0.2",
59 - "yo-cli": "^1.0.2",  
60 "yoho-express-session": "^2.0.0", 60 "yoho-express-session": "^2.0.0",
61 "yoho-node-lib": "=0.6.10", 61 "yoho-node-lib": "=0.6.10",
62 "yoho-zookeeper": "^1.0.8" 62 "yoho-zookeeper": "^1.0.8"