Add tasks and debug vscode configs

This commit is contained in:
2018-04-07 14:05:41 +05:30
parent 550b0764c9
commit 5c57e278f1
2 changed files with 41 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
{
// Copied from create-react-app
"version": "0.2.0",
"configurations": [
{
"name": "Debug (Chrome)",
"type": "chrome",
"request": "launch",
"url": "http://localhost:3000",
"webRoot": "${workspaceRoot}/src",
"sourceMapPathOverrides": {
"webpack:///src/*": "${webRoot}/*"
},
}
]
}
+25
View File
@@ -0,0 +1,25 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "build",
"problemMatcher": [
"$tslint5",
"$tsc"
],
"isBackground": true
},
{
"type": "npm",
"script": "start",
"problemMatcher": [
"$tslint5",
"$tsc-watch"
],
"isBackground": true
}
]
}