realm-js/package.json

108 lines
3.2 KiB
JSON
Raw Normal View History

{
"name": "realm",
2016-02-22 03:19:55 +00:00
"description": "Realm is a mobile database: an alternative to SQLite and key-value stores",
2017-03-28 12:49:58 +00:00
"version": "1.2.0",
"license": "Apache-2.0",
"homepage": "https://realm.io",
"keywords": [
"database",
"db",
"react",
"react-native",
2016-02-19 01:16:14 +00:00
"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",
2016-11-17 15:15:08 +00:00
"tests",
2016-10-04 22:02:51 +00:00
"vendor",
2016-11-10 12:51:37 +00:00
"binding.gyp",
"realm.gypi",
"target_defaults.gypi",
2016-11-10 12:57:06 +00:00
"dependencies.list"
],
"scripts": {
"get-version": "node -p process.env.npm_package_version",
"set-version": "scripts/set-version.sh",
2016-03-21 18:46:34 +00:00
"get-core-version": "scripts/download-core.sh --version",
"get-sync-version": "scripts/download-core.sh --versionSync",
"lint": "eslint",
"test": "scripts/test.sh",
"install": "node-pre-gyp install --fallback-to-build",
"prepublish": "node scripts/prepublish.js",
"eslint": "npm install && npm run lint .",
"license-check": "npm install && license-checker --exclude \"MIT,ISC,BSD,Apache-2.0,BSD-2-Clause,BSD-3-Clause,WTFPL,Unlicense,(MIT AND CC-BY-3.0)\" | node scripts/handle-license-check.js",
"jsdoc:clean": "rimraf ./docs/output",
"jsdoc": "npm install && npm run jsdoc:clean && jsdoc -c docs/conf.json",
"node-tests": "npm install --build-from-source && cd tests && npm install && npm run test-nosync && cd ..",
"node-nosync-tests": "npm install --build-from-source && cd tests && npm install && npm run test-nosync && cd ..",
2017-03-28 12:49:58 +00:00
"test-runner:ava": "cd tests/test-runners/ava && npm install && npm test",
"test-runner:mocha": "cd tests/test-runners/mocha && npm install && npm test",
"test-runner:jest": "cd tests/test-runners/jest && npm install && npm test",
"test-runners": "npm run test-runner:ava && npm run test-runner:mocha && npm run test-runner:jest",
"isMac": "node -p \"if (process.platform == 'darwin') { process.exit(0); } else { process.exit(-1); }\"",
"testMac": "npm run isMac -s && echo this is mac || echo . "
},
"dependencies": {
"extract-zip": "^1.6.0",
"ini": "^1.3.4",
"nan": "^2.3.3",
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 13:07:29 +00:00
"node-fetch": "^1.6.3",
2016-10-04 22:02:51 +00:00
"node-pre-gyp": "^0.6.30",
2016-11-16 19:49:32 +00:00
"request": "^2.78.0",
"sync-request": "^3.0.1",
"url-parse": "^1.1.7"
},
"devDependencies": {
2016-05-20 23:16:52 +00:00
"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",
"license-checker": "^8.0.3",
"mockery": "^2.0.0",
"rimraf": "^2.6.1",
"semver": "^5.1.0"
},
"rnpm": {
"ios": {
"project": "react-native/ios/RealmReact.xcodeproj",
2016-06-17 00:55:45 +00:00
"sharedLibraries": [
"libc++",
"libz"
]
}
},
"engines": {
"node": ">=4"
2016-10-04 22:02:51 +00:00
},
"binary": {
"module_name": "realm",
"module_path": "./compiled/{node_abi}_{platform}_{arch}/",
"host": "https://static.realm.io",
"remote_path": "/node-pre-gyp"
}
}