Skip to content

Instantly share code, notes, and snippets.

@yousifalraheem
Created June 14, 2020 07:34
Show Gist options
  • Save yousifalraheem/f1e357d937abf0ff8da74fd82fc2658c to your computer and use it in GitHub Desktop.
Save yousifalraheem/f1e357d937abf0ff8da74fd82fc2658c to your computer and use it in GitHub Desktop.
NPM commands moved to individual scripts
{
"scripts": {
"clean": "rimraf dist",
"lint": "tslint -p tsconfig.json",
"build:prod": "webpack -mode production",
"build": "npm run clean && npm run lint && npm run build:prod"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment