Init with create-react-app

This commit is contained in:
2018-04-11 11:24:07 +05:30
commit 911082b42d
15 changed files with 10343 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}/*"
},
}
]
}
+3
View File
@@ -0,0 +1,3 @@
{
"eslint.enable": true,
}
+46
View File
@@ -0,0 +1,46 @@
{
// 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": {
"owner": "custom",
"pattern": {
"regexp": "^$"
},
"background": {
"activeOnStart": true,
"beginsPattern": "Compiling...",
"endsPattern": "Compiled .*"
}
},
"isBackground": true
},
{
"type": "npm",
"script": "start",
"problemMatcher": {
"owner": "custom",
"pattern": {
"regexp": "^$"
},
"background": {
"activeOnStart": true,
"beginsPattern": "Compiling...",
"endsPattern": "Compiled .*"
}
},
"isBackground": true
},
{
"type": "npm",
"script": "test:lint:js",
"problemMatcher": [
"$eslint-compact"
]
}
]
}