Skip to content

Instantly share code, notes, and snippets.

@tonysneed
Last active December 15, 2018 02:46
Show Gist options
  • Save tonysneed/b16f7a26e4019630aebbf7a3b2f0760c to your computer and use it in GitHub Desktop.
Save tonysneed/b16f7a26e4019630aebbf7a3b2f0760c to your computer and use it in GitHub Desktop.
Angular CLI VS Code Tasks
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "serve",
"type": "npm",
"script": "start",
"presentation": {
"reveal": "always"
},
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": [
"$tsc"
]
},
{
"label": "test",
"type": "npm",
"script": "test",
"presentation": {
"reveal": "always"
},
"group": {
"kind": "test",
"isDefault": true
}
},
{
"taskName": "serve",
"type": "shell",
"command": "npm start",
"problemMatcher": [
"$tsc"
]
},
{
"taskName": "open",
"type": "shell",
"command": "npm start -- -o",
"problemMatcher": [
"$tsc"
]
},
{
"taskName": "lint",
"type": "shell",
"command": "npm run lint",
"problemMatcher": [
"$tsc"
]
},
{
"taskName": "e2e",
"type": "shell",
"command": "npm run e2e"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment