2015-11-17 21:13:40 +00:00
|
|
|
{
|
|
|
|
"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-09-13 10:51:38 +00:00
|
|
|
"version": "2.0.0-rc7",
|
2016-02-19 00:23:54 +00:00
|
|
|
"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",
|
2016-11-14 18:48:50 +00:00
|
|
|
"leveldb",
|
|
|
|
"realm"
|
2016-02-19 00:23:54 +00:00
|
|
|
],
|
|
|
|
"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"
|
|
|
|
},
|
2017-06-20 11:09:01 +00:00
|
|
|
"typings": "./lib/index.d.ts",
|
2015-11-17 21:13:40 +00:00
|
|
|
"main": "lib/index.js",
|
|
|
|
"files": [
|
2016-02-10 02:03:33 +00:00
|
|
|
"android",
|
2015-11-17 21:13:40 +00:00
|
|
|
"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",
|
2017-03-09 13:34:01 +00:00
|
|
|
"realm.gypi",
|
2017-03-07 22:24:30 +00:00
|
|
|
"target_defaults.gypi",
|
2016-11-10 12:57:06 +00:00
|
|
|
"dependencies.list"
|
2016-02-08 11:09:58 +00:00
|
|
|
],
|
|
|
|
"scripts": {
|
2017-03-20 20:44:06 +00:00
|
|
|
"get-version": "node -p process.env.npm_package_version",
|
2016-02-17 06:26:35 +00:00
|
|
|
"set-version": "scripts/set-version.sh",
|
2017-05-18 11:13:28 +00:00
|
|
|
"lint": "eslint",
|
2016-02-10 02:03:33 +00:00
|
|
|
"test": "scripts/test.sh",
|
2017-03-07 22:24:30 +00:00
|
|
|
"install": "node-pre-gyp install --fallback-to-build",
|
2017-07-12 00:11:49 +00:00
|
|
|
"build-changes": "node-pre-gyp build --debug",
|
|
|
|
"rebuild-changes": "node-pre-gyp rebuild --debug && cd tests && npm install",
|
2017-05-06 12:19:19 +00:00
|
|
|
"prepublish": "echo prepublishing && node scripts/prepublish.js",
|
2017-03-20 20:44:06 +00:00
|
|
|
"eslint": "npm install && npm run lint .",
|
2017-03-22 12:01:09 +00:00
|
|
|
"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",
|
2017-03-20 20:44:06 +00:00
|
|
|
"jsdoc:clean": "rimraf ./docs/output",
|
2017-08-08 09:35:03 +00:00
|
|
|
"jsdoc": "npm install && npm run jsdoc:clean && jsdoc -u docs/tutorials -p package.json -c docs/conf.json",
|
2017-07-12 00:11:49 +00:00
|
|
|
"prenode-tests": "npm install --build-from-source=realm && cd tests && npm install",
|
2017-03-30 08:24:46 +00:00
|
|
|
"node-tests": "cd tests && npm run test && 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); }\"",
|
2017-04-03 20:33:12 +00:00
|
|
|
"testMac": "npm run isMac -s && echo this is mac || echo . ",
|
|
|
|
"isWin": "node -p \"if (process.platform == 'win32') { process.exit(0); } else { process.exit(-1); }\"",
|
2017-05-11 12:34:52 +00:00
|
|
|
"prealias:win:apply": "git config alias.apply-win-symlink-aliases \"!f() { $(scripts/git-win-symlink-aliases); }; f\"",
|
|
|
|
"alias:win:apply": "git apply-win-symlink-aliases",
|
|
|
|
"postalias:win:apply": "git config --unset alias.apply-win-symlink-aliases",
|
|
|
|
"alias:win:revert": "git config alias.rm-symlink \"\" && git config alias.rm-symlinks \"\" && git config alias.checkout-symlinks \"\"",
|
|
|
|
"win-fix-symlinks": "npm run isWin -s && npm run alias:win:apply && git checkout-symlinks && git rm-symlinks || echo . ",
|
|
|
|
"win-revert-symlinks": "npm run isWin -s && npm run alias:win:apply && git checkout-symlinks && npm run alias:win:revert || echo .",
|
2017-04-04 14:55:55 +00:00
|
|
|
"prereact-tests-android": "npm run isWin -s && npm run win-fix-symlinks || echo . ",
|
2017-04-03 20:33:12 +00:00
|
|
|
"react-tests-android": "node scripts/react-tests-android.js || npm run postreact-tests-android",
|
2017-08-14 08:30:03 +00:00
|
|
|
"postreact-tests-android": "npm run win-revert-symlinks",
|
|
|
|
"check-environment": "node scripts/check-environment.js"
|
2016-01-29 08:46:25 +00:00
|
|
|
},
|
2016-03-23 17:51:57 +00:00
|
|
|
"dependencies": {
|
2017-07-05 14:37:06 +00:00
|
|
|
"command-line-args": "^4.0.6",
|
|
|
|
"decompress": "^4.2.0",
|
2017-03-07 22:24:30 +00:00
|
|
|
"ini": "^1.3.4",
|
2017-07-12 00:11:49 +00:00
|
|
|
"lzma-native": "^3.0.1",
|
2016-05-04 09:14:01 +00:00
|
|
|
"nan": "^2.3.3",
|
2017-01-31 13:07:29 +00:00
|
|
|
"node-fetch": "^1.6.3",
|
2017-07-05 14:37:06 +00:00
|
|
|
"node-pre-gyp": "^0.6.36",
|
2017-07-12 00:11:49 +00:00
|
|
|
"progress": "^2.0.0",
|
2016-11-16 19:49:32 +00:00
|
|
|
"request": "^2.78.0",
|
2017-07-12 00:11:49 +00:00
|
|
|
"stream-counter": "^1.0.0",
|
2016-11-09 00:47:20 +00:00
|
|
|
"sync-request": "^3.0.1",
|
|
|
|
"url-parse": "^1.1.7"
|
2016-03-23 17:51:57 +00:00
|
|
|
},
|
2016-01-29 08:46:25 +00:00
|
|
|
"devDependencies": {
|
2016-05-20 23:16:52 +00:00
|
|
|
"babel-eslint": "^6.0.4",
|
2016-11-14 18:48:50 +00:00
|
|
|
"eslint": "^3.2.2",
|
|
|
|
"eslint-plugin-jasmine": "^2.1.0",
|
|
|
|
"eslint-plugin-react": "^6.7.0",
|
2016-03-16 18:19:09 +00:00
|
|
|
"jsdoc": "^3.4.0",
|
2017-02-06 10:33:14 +00:00
|
|
|
"license-checker": "^8.0.3",
|
2016-12-09 08:05:15 +00:00
|
|
|
"mockery": "^2.0.0",
|
2017-03-20 20:44:06 +00:00
|
|
|
"rimraf": "^2.6.1",
|
2017-04-03 20:33:12 +00:00
|
|
|
"semver": "^5.1.0",
|
|
|
|
"shelljs": "^0.7.7",
|
|
|
|
"shx": "^0.2.2"
|
2016-02-19 00:23:54 +00:00
|
|
|
},
|
2016-03-23 17:51:57 +00:00
|
|
|
"rnpm": {
|
|
|
|
"ios": {
|
2016-06-17 00:49:47 +00:00
|
|
|
"project": "react-native/ios/RealmReact.xcodeproj",
|
2016-06-17 00:55:45 +00:00
|
|
|
"sharedLibraries": [
|
|
|
|
"libc++",
|
|
|
|
"libz"
|
|
|
|
]
|
2016-03-23 17:51:57 +00:00
|
|
|
}
|
|
|
|
},
|
2016-02-19 00:23:54 +00:00
|
|
|
"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",
|
2017-06-15 13:52:32 +00:00
|
|
|
"remote_path": "/node-pre-gyp/{version}/"
|
2016-02-08 11:09:58 +00:00
|
|
|
}
|
2015-11-17 21:13:40 +00:00
|
|
|
}
|