Last active
January 17, 2016 03:29
-
-
Save coryhouse/925119b28ef5d332e8d0 to your computer and use it in GitHub Desktop.
Example of using && to call multiple scripts, serially
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "npm-scripts-example", | |
"version": "1.0.0", | |
"description": "npm scripts example", | |
"scripts": { | |
"remove-dist": "rimraf ./dist", | |
"create-dist": "mkdir dist && cd dist && mkdir js && mkdir styles", | |
"prebuild": "npm run remove-dist && npm run create-dist", | |
"build": "webpack" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment