Created
June 14, 2020 07:35
-
-
Save yousifalraheem/fc8eceb65a7899ceebec3148ba6e5a0c to your computer and use it in GitHub Desktop.
More complicated example of clean chained scripts
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
{ | |
"scripts": { | |
"clean:dist": "rimraf dist", | |
"clean:test": "rimraf converage", | |
"clean": "npm run clean:dist && npm run clean:test", | |
"lint": "tslint -p tsconfig.json", | |
"build:prod": "webpack - mode production", | |
"test": "jest", | |
"deploy": "gh-pages -d dist", | |
"build": "npm run clean && npm run lint && npm test && npm run build:prod && npm run deploy" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment