Clean up react-scripts-ts files
This commit is contained in:
parent
019dbdcfe1
commit
457c7830f6
3
images.d.ts
vendored
3
images.d.ts
vendored
@ -1,3 +0,0 @@
|
|||||||
declare module '*.svg'
|
|
||||||
declare module '*.png'
|
|
||||||
declare module '*.jpg'
|
|
@ -38,5 +38,11 @@
|
|||||||
"@types/react-dom": "^16.0.5",
|
"@types/react-dom": "^16.0.5",
|
||||||
"react-scripts": "^2.1.3",
|
"react-scripts": "^2.1.3",
|
||||||
"typescript": "^3.3.1"
|
"typescript": "^3.3.1"
|
||||||
}
|
},
|
||||||
|
"browserslist": [
|
||||||
|
">0.2%",
|
||||||
|
"not dead",
|
||||||
|
"not ie <= 11",
|
||||||
|
"not op_mini all"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
1
src/react-app-env.d.ts
vendored
Normal file
1
src/react-app-env.d.ts
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/// <reference types="react-scripts" />
|
@ -1,31 +1,25 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": ".",
|
|
||||||
"outDir": "build/dist",
|
|
||||||
"module": "esnext",
|
|
||||||
"target": "es5",
|
"target": "es5",
|
||||||
"lib": ["es6", "dom"],
|
"lib": [
|
||||||
"sourceMap": true,
|
"dom",
|
||||||
|
"dom.iterable",
|
||||||
|
"esnext"
|
||||||
|
],
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"jsx": "react",
|
"skipLibCheck": true,
|
||||||
"moduleResolution": "node",
|
"esModuleInterop": true,
|
||||||
"rootDir": "src",
|
"allowSyntheticDefaultImports": true,
|
||||||
|
"strict": true,
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
"noImplicitReturns": true,
|
"module": "esnext",
|
||||||
"noImplicitThis": true,
|
"moduleResolution": "node",
|
||||||
"noImplicitAny": true,
|
"resolveJsonModule": true,
|
||||||
"strictNullChecks": true,
|
"isolatedModules": true,
|
||||||
"suppressImplicitAnyIndexErrors": true,
|
"noEmit": true,
|
||||||
"noUnusedLocals": true
|
"jsx": "preserve"
|
||||||
},
|
},
|
||||||
"exclude": [
|
"include": [
|
||||||
"node_modules",
|
"src"
|
||||||
"build",
|
|
||||||
"scripts",
|
|
||||||
"acceptance-tests",
|
|
||||||
"webpack",
|
|
||||||
"jest",
|
|
||||||
"src/setupTests.ts",
|
|
||||||
".vscode-test"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"extends": "./tsconfig.json"
|
|
||||||
}
|
|
@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"extends": "./tsconfig.json",
|
|
||||||
"compilerOptions": {
|
|
||||||
"module": "commonjs"
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user