{ "name": "realm", "description": "Realm is a mobile database: an alternative to SQLite and key-value stores", "version": "10.19.1", "license": "See the actual license in the file LICENSE", "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" }, "types": "types/index.d.ts", "main": "lib/index.js", "files": [ "cmake", "lib", "types", "react-native", "scripts", "src", "vendor", "dependencies.list", "react-native.config.js", "RealmJS.podspec", "CMakeLists.txt" ], "scripts": { "lerna:bootstrap": "lerna bootstrap", "lerna:lint": "lerna run lint", "lerna:lint:fix": "lerna run lint --no-bail -- -- --fix", "lint": "eslint .", "get-version": "node -p process.env.npm_package_version", "set-version": "scripts/set-version.sh", "test": "scripts/test.sh", "package": "npm ci --ignore-scripts && prebuild", "install": "prebuild-install -r napi || cmake-js build", "rebuild": "npm run rebuild-changes", "build": "npm run build-changes", "build:arm": "npm run build-changes:arm", "build-changes": "cmake-js build --debug", "build-changes:x64": "cmake-js build --debug --arch x64", "build-changes:arm": "cmake-js build --debug --arch arm64", "rebuild-changes": "cmake-js rebuild --debug && cd tests && npm install", "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 --ignore-scripts && npm run jsdoc:clean && jsdoc -u docs/tutorials -p package.json -c docs/conf.json", "doxygen:clean": "rm -rf contrib/docs/output/realm/*", "doxygen": "REALM_JS_VERSION=$npm_package_version npm run doxygen:clean && doxygen contrib/docs/doxygen.cfg", "prenode-tests": "npm install --build-from-source && cd tests && npm install", "node-tests": "cd tests && npm run test && cd ..", "start-server": "RUN_STITCH_IN_FORGROUND=true ./scripts/start-sync-server.sh", "test-runner:ava": "cd tests/test-runners/ava && npm install --build-from-source=realm && npm test", "test-runner:mocha": "cd tests/test-runners/mocha && npm install --build-from-source=realm && npm test", "test-runner:jest": "cd tests/test-runners/jest && npm install --build-from-source=realm && npm test", "test-runners": "npm run test-runner:ava && npm run test-runner:mocha && npm run test-runner:jest", "check-environment": "node scripts/check-environment.js", "lint:cpp": "find src -name \"*.?pp\" | xargs clang-format --dry-run --Werror", "lint:fix:cpp": "find src -name \"*.?pp\" | xargs clang-format -i", "postinstall": "node scripts/submit-analytics.js" }, "dependencies": { "@realm.io/common": "^0.1.2", "bindings": "^1.5.0", "bson": "4.4.1", "clang-format": "^1.6.0", "command-line-args": "^5.1.1", "deepmerge": "2.1.0", "fs-extra": "^4.0.3", "ini": "^1.3.7", "node-addon-api": "4.2.0", "node-fetch": "^3.2.6", "node-machine-id": "^1.1.10", "prebuild-install": "^7.0.1", "progress": "^2.0.3", "prop-types": "^15.6.2", "realm-network-transport": "^0.7.2", "request": "^2.88.0", "stream-counter": "^1.0.0", "sync-request": "^3.0.1", "tar": "^6.0.1", "url-parse": "^1.4.4" }, "peerDependencies": { "react-native": ">=0.60" }, "peerDependenciesMeta": { "react-native": { "optional": true } }, "devDependencies": { "@babel/runtime": "^7.16.3", "@react-native-community/eslint-config": "^3.0.0", "@types/node": "^4.9.1", "@typescript-eslint/eslint-plugin": "^4.28.3", "@typescript-eslint/parser": "^4.28.3", "babel-eslint": "^8.2.6", "cmake-js": "^6.1.0", "compare-versions": "^3.6.0", "eslint": "^7.30.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-flowtype": "^5.8.0", "eslint-plugin-header": "^3.1.1", "eslint-plugin-jasmine": "^4.1.2", "eslint-plugin-jsdoc": "^35.4.1", "eslint-plugin-prettier": "^3.4.0", "eslint-plugin-react": "^7.24.0", "eslint-plugin-react-native": "^3.11.0", "fb-watchman": "^2.0.1", "jasmine": "^3.4.0", "jasmine-console-reporter": "^3.1.0", "jasmine-xml-reporter": "^1.2.1", "jsdoc": "3.6.3", "lerna": "^4.0.0", "license-checker": "^8.0.3", "mockery": "^2.0.0", "prebuild": "^10.0.1", "prettier": "^2.0.4", "rimraf": "^2.6.3", "semver": "^5.6.0", "shelljs": "^0.8.5", "shx": "^0.2.2", "ts-node": "^10.8.1", "typescript": "^4.5.2" }, "engines": { "node": ">=13", "npm": ">=7" }, "config": { "runtime": "napi", "target": 5 }, "binary": { "module_name": "realm", "host": "https://static.realm.io", "package_name": "realm-v{version}-napi-v5-{platform}-{arch}.tar.gz", "remote_path": "realm-js-prebuilds/{version}", "napi_versions": [ 5 ] } }