Authored by 杨延青

add scripts

@@ -20,7 +20,8 @@ @@ -20,7 +20,8 @@
20 "lint-css": "npm run -s lint:css -- ./**/*.{scss,css,vue}", 20 "lint-css": "npm run -s lint:css -- ./**/*.{scss,css,vue}",
21 "lint-js": "npm run -s lint:js -- .", 21 "lint-js": "npm run -s lint:js -- .",
22 "lint-all": "echo \"JS: \";npm run -s lint-js;echo \"CSS: \";npm run -s lint-css", 22 "lint-all": "echo \"JS: \";npm run -s lint-js;echo \"CSS: \";npm run -s lint-css",
23 - "precommit": "lint-staged" 23 + "precommit": "lint-staged",
  24 + "prod": "git pull && webpack --config ./public/build/webpack.dll.indexcss.config.js && webpack --config ./public/build/webpack.prod.config.js && pm2 reload yohobuywap-node"
24 }, 25 },
25 "lint-staged": { 26 "lint-staged": {
26 "*.{js,vue}": [ 27 "*.{js,vue}": [