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