Update templates for Yarn compatibility

This commit is contained in:
SteveSandersonMS
2016-10-28 17:36:55 +01:00
parent 6259b7b938
commit 54f222e88f
11 changed files with 20 additions and 2 deletions

View File

@@ -35,6 +35,7 @@ Obj/
!/wwwroot/dist/_placeholder.txt
!/ClientApp/dist/_placeholder.txt
/yarn.lock
# MSTest test Results
[Tt]est[Rr]esult*/

View File

@@ -1,5 +1,6 @@
{
"compilerOptions": {
"baseUrl": ".",
"moduleResolution": "node",
"target": "es6",
"jsx": "preserve",
@@ -7,7 +8,11 @@
"sourceMap": true,
"skipDefaultLibCheck": true,
"lib": ["es6", "dom"],
"types": [ "webpack-env", "whatwg-fetch" ]
"types": [ "webpack-env", "whatwg-fetch" ],
"paths": {
// Fixes "Duplicate identifier 'Redux'" error when packages were installed via Yarn (by specifying which .d.ts file is authoritative)
"redux": ["./node_modules/@types/redux/index"]
}
},
"exclude": [
"bin",