realm-js/package.json
Kristian Dupont 0c9c5ac407 Add missing chrome debugging apis for Sync.User (#801)
* Add user tests

* Add Sync member to Realm

* Add a simple test for addListener

* Introduce browser User class

* Introduce Sync.User proxy

* Fix User.all

* Add User.logout

* Remove some console.log statements

* Update rpc.cpp from tests-folder

* Use user.current from user-methods, not cpp

* remove user.current from two missing places

* Start server in realmjs and react tests

* Add user tests

* Add Sync member to Realm

* Add a simple test for addListener

* Introduce browser User class

* Introduce Sync.User proxy

* Fix User.all

* Add User.logout

* Remove some console.log statements

* Update rpc.cpp from tests-folder

* Use user.current from user-methods, not cpp

* remove user.current from two missing places

* Start server in realmjs and react tests

* Replace needle with node-fetch

* Make AuthError work in the browser

* Allow for persistent callbacks

* Expose _authenticateRealm to native

* Use clear_test_state in roc

* Streamline test inclusion

* Fix login tests

* Promisify testLogin()

* Disable AsyncTests for now

* Mode jasmine timeout to spec/unit_tests.js

* Avoid use of global for fetch module

* Only include user-tests is sync is enabled

* Skip ROS for android tests

* Add some comments about persistent callbacks

* Fix results-test

* Run async-tests in node

* Add a comment about (user object)

* Cache all users in User.current and return promises in fetch

* node_require async-tests so RN doesn't try and package them

* Add missing parenthesis
2017-01-31 14:07:29 +01:00

91 lines
2.0 KiB
JSON

{
"name": "realm",
"description": "Realm is a mobile database: an alternative to SQLite and key-value stores",
"version": "0.15.4",
"license": "Apache-2.0",
"homepage": "https://realm.io",
"keywords": [
"database",
"db",
"react",
"react-native",
"persistence",
"localstorage",
"sqlite",
"asyncstorage",
"rocksdb",
"leveldb",
"realm"
],
"author": {
"name": "Realm",
"email": "help@realm.io",
"url": "https://realm.io"
},
"repository": {
"type": "git",
"url": "https://github.com/realm/realm-js.git"
},
"bugs": {
"url": "https://github.com/realm/realm-js/issues"
},
"main": "lib/index.js",
"files": [
"android",
"lib",
"react-native",
"scripts",
"src",
"tests",
"vendor",
"binding.gyp",
"dependencies.list"
],
"scripts": {
"get-version": "echo $npm_package_version",
"set-version": "scripts/set-version.sh",
"get-core-version": "scripts/download-core.sh --version",
"get-sync-version": "scripts/download-core.sh --versionSync",
"jsdoc": "rm -rf docs/output && jsdoc -c docs/conf.json",
"lint": "eslint",
"test": "scripts/test.sh",
"install": "node scripts/install.js",
"prepublish": "scripts/prepublish.sh"
},
"dependencies": {
"nan": "^2.3.3",
"node-fetch": "^1.6.3",
"node-pre-gyp": "^0.6.30",
"request": "^2.78.0",
"sync-request": "^3.0.1",
"url-parse": "^1.1.7"
},
"devDependencies": {
"babel-eslint": "^6.0.4",
"eslint": "^3.2.2",
"eslint-plugin-jasmine": "^2.1.0",
"eslint-plugin-react": "^6.7.0",
"jsdoc": "^3.4.0",
"mockery": "^2.0.0",
"semver": "^5.1.0"
},
"rnpm": {
"ios": {
"project": "react-native/ios/RealmReact.xcodeproj",
"sharedLibraries": [
"libc++",
"libz"
]
}
},
"engines": {
"node": ">=4"
},
"binary": {
"module_name": "realm",
"module_path": "./compiled/{node_abi}_{platform}_{arch}/",
"host": "https://static.realm.io",
"remote_path": "/node-pre-gyp"
}
}