├── .gitignore ├── .npmignore ├── LICENSE ├── README.md ├── libs └── leancloud.js └── package.json /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_* 2 | node_modules 3 | *.sublime* 4 | psd 5 | thumb 6 | *.log -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | .DS_* 2 | node_modules 3 | *.sublime* 4 | psd 5 | thumb 6 | *.log -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015 turing <o.u.turing@gmail.com> 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## react-native-leancloud ![NPM version](https://img.shields.io/npm/v/react-native-leancloud.svg?style=flat) 2 | 3 | a react native LeanCloud component 4 | 5 | ### Installation 6 | ```bash 7 | $ npm install react-native-leancloud 8 | ``` 9 | 10 | ### Example 11 | ```js 12 | var reactNativeLeancloud = require('react-native-leancloud'); 13 | ``` 14 | 15 | ### API 16 | check this file: `index.js` 17 | 18 | ### Contributing 19 | - Fork this repo 20 | - Clone your repo 21 | - Install dependencies 22 | - Checkout a feature branch 23 | - Feel free to add your features 24 | - Make sure your features are fully tested 25 | - Open a pull request, and enjoy <3 26 | 27 | ### MIT license 28 | Copyright (c) 2015 turing <o.u.turing@gmail.com> 29 | 30 | Permission is hereby granted, free of charge, to any person obtaining a copy 31 | of this software and associated documentation files (the "Software"), to deal 32 | in the Software without restriction, including without limitation the rights 33 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 34 | copies of the Software, and to permit persons to whom the Software is 35 | furnished to do so, subject to the following conditions: 36 | 37 | The above copyright notice and this permission notice shall be included in 38 | all copies or substantial portions of the Software. 39 | 40 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 41 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 42 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 43 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 44 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 45 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 46 | THE SOFTWARE. 47 | 48 | --- 49 | ![docor](https://raw.githubusercontent.com/turingou/docor/master/docor.png) 50 | built upon love by [docor](https://github.com/turingou/docor.git) v0.2.0 -------------------------------------------------------------------------------- /libs/leancloud.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guo-yu/react-native-leancloud/5cb0e03611a2b7b29600c2918899cb07b7872ad0/libs/leancloud.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react-native-leancloud", 3 | "version": "0.1.0", 4 | "description": "a react native LeanCloud component", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "git+ssh://git@github.com/turingou/react-native-leancloud.git" 12 | }, 13 | "keywords": [ 14 | "leancloud", 15 | "react", 16 | "native" 17 | ], 18 | "author": "turing ", 19 | "license": "MIT", 20 | "bugs": { 21 | "url": "https://github.com/turingou/react-native-leancloud/issues" 22 | }, 23 | "homepage": "https://github.com/turingou/react-native-leancloud#readme" 24 | } 25 | --------------------------------------------------------------------------------