Skip to content

Commit

Permalink
chore: new tsconfig is here with the tslib dependency is removed
Browse files Browse the repository at this point in the history
  • Loading branch information
WrathChaos committed Dec 11, 2021
1 parent 9ec2ab9 commit 0b6810b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 16 deletions.
13 changes: 1 addition & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-dynamic-search-bar",
"version": "2.0.1",
"version": "2.0.2",
"description": "Fully customizable and dynamic Search Bar for React Native.",
"keywords": [
"gradient",
Expand Down Expand Up @@ -47,16 +47,5 @@
"husky": "^7.0.0",
"lint-staged": "^12.0.3",
"prettier": "^2.1.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"./src/*.{js,jsx,ts,tsx}": [
"npx prettier --write",
"eslint src/*.js --fix-dry-run"
]
}
}
16 changes: 12 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"target": "esnext",
"module": "commonjs",
"module": "es6",
"lib": ["es6"],
"allowJs": true,
"jsx": "react-native",
Expand All @@ -10,22 +10,30 @@
"isolatedModules": true,
"strict": true,
"moduleResolution": "node",
"skipLibCheck": true,
"baseUrl": "./",
"outDir": "build/dist",
"noEmitHelpers": true,
"importHelpers": true,
"alwaysStrict": true,
"strictFunctionTypes": true,
"resolveJsonModule": true,
"importHelpers": false,
"experimentalDecorators": true,
"strictPropertyInitialization": false,
"allowSyntheticDefaultImports": true,
"strictNullChecks": true,
"skipDefaultLibCheck": true,
"skipLibCheck": true,
"esModuleInterop": true,
"typeRoots": ["./node_modules/@types", "./@types"],
"declaration": true /* Generates corresponding '.d.ts' file. */,
"sourceMap": true /* Generates corresponding '.map' file. */
},
"exclude": [
"example",
"example-manual-state",
"node_modules",
"babel.config.js",
"metro.config.js",
"jest.config.js"
]
}
}

0 comments on commit 0b6810b

Please sign in to comment.