File tree Expand file tree Collapse file tree 6 files changed +17
-218
lines changed
Expand file tree Collapse file tree 6 files changed +17
-218
lines changed Original file line number Diff line number Diff line change 1010
1111## Install
1212
13+ The library is still in version 0, be cautious when you upgrade it! 🚧
14+
1315```
1416yarn add react-native-socials
1517```
Original file line number Diff line number Diff line change 11{
22 "name" : " react-native-socials" ,
3- "version" : " 0.0.17 " ,
3+ "version" : " 0.0.18 " ,
44 "description" : " A react-native library which displays content from popular social networks" ,
55 "main" : " ./dist/index.js" ,
66 "types" : " ./dist/index.d.ts" ,
1010 "type" : " git" ,
1111 "url" : " git://github.com/PierreCapo/react-native-socials.git"
1212 },
13+ "prepublish" : " tsc --p ./tsconfig.json" ,
1314 "dependencies" : {
1415 "@babel/runtime" : " ^7.9.2" ,
1516 "@types/react-native" : " ^0.62.1" ,
Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ export const adapter = (data: TwitterPostApiResponse): ITwitterPost => {
8181 ) ;
8282 } ) ;
8383
84+ // @ts -ignore
8485 return response ;
8586} ;
8687
Original file line number Diff line number Diff line change 1+ // @ts -ignore
12import oauthSignature from "oauth-signature" ;
23
34/*
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1313 "importHelpers" : true ,
1414 "strict" : true ,
1515 "noImplicitReturns" : true ,
16- "declaration" : true
17- }
16+ "declaration" : true ,
17+ "types" : [" react-native" ]
18+ },
19+ "exclude" : [
20+ " node_modules" ,
21+ " dist" ,
22+ " example" ,
23+ " **/__tests__/*" ,
24+ " **/*.test.ts" ,
25+ " **/*.test.tsx"
26+ ]
1827}
You can’t perform that action at this time.
0 commit comments