Showing
1 changed file
with
2 additions
and
1 deletions
@@ -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}": [ |
-
Please register or login to post a comment