Created
November 25, 2020 07:06
-
-
Save dwaard/5375d04dc39d30bb79dc4bbf87b7116c to your computer and use it in GitHub Desktop.
.vscode tasks for installing and building HZ Typescript projects
This file contains hidden or 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
{ | |
"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