标签:ati color run script amp scripts nbsp rip use
After creating several npm script it becomes useful to run multiple scripts back-to-back in series. This is a nice feature because you can enforce that one script needs to complete before starting another one.
"scripts": { "start": "node index.js", "test": "npm run eslint && npm run stylelint && mocha spec/ --require babel-register", "eslint": "eslint --cache --fix ./", "stylelint": "stylelint ‘**/*.scss‘ --syntax scss", "stylelint:fix": "stylefmt -R src/" },
[NPM] Run npm scripts in series
标签:ati color run script amp scripts nbsp rip use
原文地址:http://www.cnblogs.com/Answer1215/p/6363519.html