Skip to content

Commit

Permalink
chore: unused peer dependencies are removed. Better tsconfig with the…
Browse files Browse the repository at this point in the history
… tslib dependency is removed
  • Loading branch information
WrathChaos committed Dec 11, 2021
1 parent 177bc9c commit da0d5d4
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 30 deletions.
2 changes: 1 addition & 1 deletion example-manual-state/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@freakycoder/react-native-bounceable": "^0.2.4",
"react": "17.0.1",
"react-native": "0.64.0",
"react-native-bouncy-checkbox": "^2.1.0"
"react-native-bouncy-checkbox": "^2.1.8"
},
"devDependencies": {
"@babel/core": "^7.12.9",
Expand Down
8 changes: 4 additions & 4 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ PODS:
- React-cxxreact (= 0.64.1)
- React-jsi (= 0.64.1)
- React-perflogger (= 0.64.1)
- RNVectorIcons (8.1.0):
- RNVectorIcons (9.0.0):
- React-Core
- Yoga (1.14.0)
- YogaKit (1.18.1):
Expand Down Expand Up @@ -454,7 +454,7 @@ SPEC CHECKSUMS:
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
DoubleConversion: cf9b38bf0b2d048436d9a82ad2abe1404f11e7de
FBLazyVector: 7b423f9e248eae65987838148c36eec1dbfe0b53
FBReactNativeSpec: 1cb536935ebb8ff1834fde5f32ac1249fcd23951
FBReactNativeSpec: a6687605f70669f6ef340f52b266d4c2b4347cfc
Flipper: d3da1aa199aad94455ae725e9f3aa43f3ec17021
Flipper-DoubleConversion: 38631e41ef4f9b12861c67d17cb5518d06badc41
Flipper-Folly: 755929a4f851b2fb2c347d533a23f191b008554c
Expand Down Expand Up @@ -488,10 +488,10 @@ SPEC CHECKSUMS:
React-RCTVibration: 4b99a7f5c6c0abbc5256410cc5425fb8531986e1
React-runtimeexecutor: ff951a0c241bfaefc4940a3f1f1a229e7cb32fa6
ReactCommon: bedc99ed4dae329c4fcf128d0c31b9115e5365ca
RNVectorIcons: 31cebfcf94e8cf8686eb5303ae0357da64d7a5a4
RNVectorIcons: 4143ba35feebab8fdbe6bc43d1e776b393d47ac8
Yoga: a7de31c64fe738607e7a3803e3f591a4b1df7393
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a

PODFILE CHECKSUM: 52d4730468a14603cf036e5a7bed6dd442161ac8

COCOAPODS: 1.11.0
COCOAPODS: 1.11.2
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"react-native": "0.64.1",
"react-native-apple-header": "^0.1.1",
"react-native-bottom-search-bar": "^0.1.3",
"react-native-bouncy-checkbox": "^2.1.7",
"react-native-bouncy-checkbox": "^2.1.8",
"react-native-dynamic-vector-icons": "^1.1.6",
"react-native-vector-icons": "^9.0.0"
},
Expand Down
23 changes: 2 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-bouncy-checkbox",
"version": "2.1.7",
"version": "2.1.8",
"description": "Fully customizable animated bouncy checkbox for React Native",
"keywords": [
"bouncy",
Expand Down Expand Up @@ -35,9 +35,7 @@
},
"peerDependencies": {
"react": ">= 16.x.x",
"react-native": ">= 0.55.x",
"react-native-vector-icons": ">= 6.6.0",
"react-native-dynamic-vector-icons": ">= 0.2.1"
"react-native": ">= 0.55.x"
},
"devDependencies": {
"@types/react": "^17.0.3",
Expand All @@ -50,22 +48,5 @@
"husky": "^7.0.0",
"lint-staged": "^12.0.3",
"prettier": "^2.0.5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"./src/*.{js,jsx,ts,tsx}": [
"npx prettier --write",
"eslint src/*.js --fix-dry-run"
]
},
"dependencies": {
"react-native-apple-header": "^0.1.1",
"react-native-bottom-search-bar": "^0.1.3",
"react-native-dynamic-vector-icons": "^1.1.6",
"react-native-vector-icons": "^9.0.0"
}
}
13 changes: 10 additions & 3 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,14 +10,21 @@
"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. */
},
Expand Down

0 comments on commit da0d5d4

Please sign in to comment.