{"_id":"@7oussem/react-native-couchbase-lite","_rev":"6-17ab3ef818f196df5710ed6cd78cab81","time":{"0.1.0":"2019-10-24T08:24:20.616Z","0.1.1":"2019-10-24T08:24:20.616Z","created":"2019-10-25T14:24:25.639Z","0.0.1":"2019-10-25T14:24:25.967Z","modified":"2022-04-04T10:49:23.171Z"},"name":"@7oussem/react-native-couchbase-lite","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@7oussem/react-native-couchbase-lite","version":"0.0.1","description":"Install Couchbase Lite in react-native app to enable JSON sync.","summary":"Install Couchbase Lite in react-native app to enable JSON sync using couchbase-lite SDK.","react-native":"src/index.ts","types":"lib/typescript/index.d.ts","main":"lib/commonjs/index.js","module":"lib/module/index.js","repository":{"type":"git","url":"git+https://github.com/ZHoussemEddine/react-native-couchbase-lite.git"},"scripts":{"analyze":"npx tsc --noEmit","shipit":"np","test":"echo no tests defined","precommit":"lint-staged && yarn analyze","build":"bob build","prepare":"yarn build"},"lint-staged":{"*.ts":["git add"]},"keywords":["react-component","react-native","ios","android","cocoapod","sync","json","database","sqlite"],"author":{"name":"Houssem Eddine ZAIEM","email":"houssemeddine.zaiem@outlook.fr"},"license":"MIT","peerDependencies":{"react-native":"^0.41.2","react-native-windows":"0.41.0-rc.1"},"devDependencies":{"@react-native-community/bob":"^0.7.0","@react-native-community/eslint-config":"^0.0.5","@types/react-native":"^0.60.21","eslint":"^6.5.1","eslint-plugin-prettier":"^3.1.1","husky":"^3.0.9","lint-staged":"^9.4.2","np":"^5.1.1","prettier":"^1.18.2","react-native":"^0.60.5","typescript":"^3.6.4"},"eslintConfig":{"extends":"@react-native-community"},"publishConfig":{"access":"public"},"@react-native-community/bob":{"source":"src","output":"lib","targets":["commonjs","module","typescript"]},"gitHead":"69da0943f5e2b5be87673a937ec938a5d1305975","bugs":{"url":"https://github.com/ZHoussemEddine/react-native-couchbase-lite/issues"},"homepage":"https://github.com/ZHoussemEddine/react-native-couchbase-lite#readme","_id":"@7oussem/react-native-couchbase-lite@0.0.1","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","dist":{"integrity":"sha512-aqCwI4Vbfw9xi+G9MRhEzWfCmk2w1fRuZ4kbBlI43n9Lq40K5ul7IoPVppXg/XC2mMUntZXTU1wcxylnJhxkSA==","shasum":"56e5614c8426e556510d6ec02df287567a11ec88","tarball":"https://registry.npmjs.org/@7oussem/react-native-couchbase-lite/-/react-native-couchbase-lite-0.0.1.tgz","fileCount":44,"unpackedSize":74134,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdswWaCRA9TVsSAnZWagAASn8P/RiLepnAm388Qve7fNvj\nnM5UW5QH3YH076fqLuUvHmRX+HC7zOaFRBvyyKqOELWAxCAsOu9D6WNEq7oH\nAhIvm4frgTJ0cr7a4Xry2x+koMHhO+mUONCc3+mEX2Njx++xfS8ivRmhwDPi\nzj/FroUN/UgNl2XtfNSyVCanAcr3qKV4AGHZJZ4A6YgBhby+W4Ye9w+QR4RI\n8aOntSgyaRBiYUfHdgaAqw9JjCm3yJ3R/HkgRwFQPaacDZzlJL/D8k+G09kl\nbSZnEE1/egKiwewubYPHNAaCqWUjgy0vC/KpT9wHPgIwFqmXl6g2ujRfTqBv\n85ECeNCPt/eXGWha7i47q3kh04csprK6otuQXmEXEQC/Httz8ayG+IKDhU0E\n8atr4ITfpUK3HHGBedWgRT9a5sMNkMseyE0e4Ffk/lx2nULxhzbC0WNX9R/W\ngsGnVXqt5q6GyQTlDDHo4cenUT0qAKRyKZeUHhgM/v0xmM4S3Fu/3n0RWkW/\n1VVBZR149ncsbaij7SBX5hBGb5V74xMz//uZTtaIyIUnltLse56bvmUEgnKc\nBLWe83QN9dDgI7ZvJwXoA4GAE8JDdQcn0C25HpKEAju0sVEmIIhGFKwJ4ROo\naVl3MrAoEzIYr+fSSy+YoeoUXz+mYRHKezWZa3jqpZYyZY7PFF8S6z/TEtfb\njbLj\r\n=RSTB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4pondO9gOdkD2nXNDQJQv/MGzGRWIlTstDDkzm4UGqQIhAKtLuapHv1RnIucKBPE/X8e7sZn+INo5OnO/4RCHYXU4"}]},"maintainers":[{"name":"hzaiem","email":"houssemeddine.zaiem@outlook.fr"}],"_npmUser":{"name":"hzaiem","email":"houssemeddine.zaiem@outlook.fr"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-couchbase-lite_0.0.1_1572013465856_0.1014631531215544"},"_hasShrinkwrap":false}},"maintainers":[],"description":"Install Couchbase Lite in react-native app to enable JSON sync.","homepage":"https://github.com/ZHoussemEddine/react-native-couchbase-lite#readme","keywords":["react-component","react-native","ios","android","cocoapod","sync","json","database","sqlite"],"repository":{"type":"git","url":"git+https://github.com/ZHoussemEddine/react-native-couchbase-lite.git"},"author":{"name":"Houssem Eddine ZAIEM","email":"houssemeddine.zaiem@outlook.fr"},"bugs":{"url":"https://github.com/ZHoussemEddine/react-native-couchbase-lite/issues"},"license":"MIT","readme":"\n# react-native-couchbase-lite\n\n## Getting started\n\n`$ npm install react-native-couchbase-lite --save`\n\n### Mostly automatic installation\n\n`$ react-native link react-native-couchbase-lite`\n\n### Manual installation\n\n\n#### iOS\n\n1. In XCode, in the project navigator, right click `Libraries` ➜ `Add Files to [your project's name]`\n2. Go to `node_modules` ➜ `react-native-couchbase-lite` and add `RNCouchbaseLite.xcodeproj`\n3. In XCode, in the project navigator, select your project. Add `libRNCouchbaseLite.a` to your project's `Build Phases` ➜ `Link Binary With Libraries`\n4. Run your project (`Cmd+R`)<\n\n#### Android\n\n1. Open up `android/app/src/main/java/[...]/MainActivity.java`\n  - Add `import com.reactlibrary.RNCouchbaseLitePackage;` to the imports at the top of the file\n  - Add `new RNCouchbaseLitePackage()` to the list returned by the `getPackages()` method\n2. Append the following lines to `android/settings.gradle`:\n  \t```\n  \tinclude ':react-native-couchbase-lite'\n  \tproject(':react-native-couchbase-lite').projectDir = new File(rootProject.projectDir, \t'../node_modules/react-native-couchbase-lite/android')\n  \t```\n3. Insert the following lines inside the dependencies block in `android/app/build.gradle`:\n  \t```\n      compile project(':react-native-couchbase-lite')\n  \t```\n\n#### Windows\n[Read it! :D](https://github.com/ReactWindows/react-native)\n\n1. In Visual Studio add the `RNCouchbaseLite.sln` in `node_modules/react-native-couchbase-lite/windows/RNCouchbaseLite.sln` folder to their solution, reference from their app.\n2. Open up your `MainPage.cs` app\n  - Add `using Couchbase.Lite.RNCouchbaseLite;` to the usings at the top of the file\n  - Add `new RNCouchbaseLitePackage()` to the `List<IReactPackage>` returned by the `Packages` method\n\n\n## Usage\n```javascript\nimport RNCouchbaseLite from 'react-native-couchbase-lite';\n\n// TODO: What to do with the module?\nRNCouchbaseLite;\n```\n  ","readmeFilename":"README.md"}