Skip to content

Instantly share code, notes, and snippets.

@b-tiwari
Last active April 13, 2018 01:26
Show Gist options
  • Save b-tiwari/40ab34a4098e407a19a8ece64a1d9d34 to your computer and use it in GitHub Desktop.
Save b-tiwari/40ab34a4098e407a19a8ece64a1d9d34 to your computer and use it in GitHub Desktop.
tsconfig.json with react-native-typescript-transformer and ts-jest
{
"compilerOptions": {
"module":"es2015",
"target": "es2015",
"jsx": "react",
"rootDir": "src",
"outDir": "build",
"allowSyntheticDefaultImports": true,
"noImplicitAny": true,
"sourceMap": true,
"experimentalDecorators": true,
"preserveConstEnums": true,
"allowJs": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"skipLibCheck": true,
"moduleResolution":"Node"
},
"filesGlob": [
"typings/index.d.ts",
"src/**/*.ts",
"src/**/*.tsx",
"node_modules/typescript/lib/lib.es6.d.ts"
],
"types": [
"react",
"react-dom",
"react-native"
],
"exclude":[
"build",
"node_modules",
"__tests__",
"jest.config.js",
"App.js"
],
"compileOnSave": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment