Add vs code debugging and task config files

This commit is contained in:
Abhas Bhattacharya
2018-03-26 08:04:53 +05:30
parent 6aa2f1f1e7
commit e6e4d1ae19
2 changed files with 39 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}/*"
},
}
]
}
+23
View File
@@ -0,0 +1,23 @@
{
// 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"
],
"isBackground": true
},
{
"type": "npm",
"script": "start",
"problemMatcher": [
"$tslint5"
],
"isBackground": true
}
]
}