Skip to content

Instantly share code, notes, and snippets.

@dwaard
Created November 25, 2020 07:06
Show Gist options
  • Save dwaard/5375d04dc39d30bb79dc4bbf87b7116c to your computer and use it in GitHub Desktop.
Save dwaard/5375d04dc39d30bb79dc4bbf87b7116c to your computer and use it in GitHub Desktop.
.vscode tasks for installing and building HZ Typescript projects
{
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"command": "docker run --rm -it -v ${PWD}:/app -w=\"/app\" node:latest npm install",
"group": "build",
"problemMatcher": [],
"label": "npm: install (Docker)",
"detail": "install dependencies from package",
"presentation": {
"reveal": "always",
"panel": "new"
}
},
{
"type": "shell",
"command": "docker run --rm -it -v ${PWD}:/app -w=\"/app\" node:latest npm run watch",
"group": "build",
"problemMatcher": [],
"label": "npm: watch (Docker)",
"detail": "tsc-watch ",
"presentation": {
"reveal": "always",
"panel": "new"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment