Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
{
"name": "rxdb",
"description": "A realtime Database for JavaScript applications",
"// version": "For pre-release versions run 'npm publish --tag next'",
"version": "10.0.2",
"author": "pubkey",
"repository": {
"type": "git",
"url": "https://github.com/pubkey/rxdb"
},
"homepage": "https://rxdb.info/",
"keywords": [
"db",
"database",
"offline-first",
"nosql",
"no-sql",
"jsonschema",
"rxjs",
"pwa",
"localstorage",
"indexeddb",
"encryption",
"pouchdb",
"couchdb",
"live-query",
"reactive",
"realtime"
],
"license": "Apache-2.0",
"main": "./dist/lib/index.js",
"jsnext:main": "./dist/es/index.js",
"module": "./dist/es/index.js",
"types": "./dist/types/index.d.ts",
"// sideEffects": "Do not set sideEffects to false here, see issue #2798",
"sideEffects": true,
"scripts": {
"postinstall": "node scripts/postinstall.js || echo \"ignore\"",
"pretest": "npm run transpile",
"test": "npm run test:node && npm run test:browser",
"// test:fast": "run tests in the fast-mode. Most of them will run in parrallel, skips tests that are known slow",
"test:fast": "npm run pretest && rimraf -rf pouch__all_dbs__ && cross-env NODE_ENV=fast mocha --config ./config/.mocharc.js ./test_tmp/unit.test.js",
"// test:fast:loop": "runs tests in the fast-mode in a loop. Use this to debug tests that only fail sometimes",
"test:fast:loop": "npm run test:fast && npm run test:fast:loop",
"test:node": "npm run pretest && mocha --expose-gc --config ./config/.mocharc.js ./test_tmp/unit.test.js",
"// test:node:loop": "runs tests in node in a loop. Use this to debug tests that only fail sometimes",
"test:node:loop": "npm run test:node && npm run test:node:loop",
"test:browser": "npm run pretest && karma start ./config/karma.conf.js --single-run",
"test:core": "npm run pretest && mocha ./test_tmp/unit/core.node.js",
"test:typings": "npm run pretest && cross-env NODE_ENV=fast mocha --config ./config/.mocharc.js ./test_tmp/typings.test.js",
"test:typings:ci": "npm run pretest && mocha --config ./config/.mocharc.js ./test_tmp/typings.test.js",
"test:deps": "npm run build && dependency-check ./package.json ./dist/lib/plugins/replication-graphql/index.js ./dist/lib/plugins/server.js ./dist/lib/plugins/validate-z-schema.js --no-dev --ignore-module util --ignore-module url --ignore-module \"@types/*\"",
"test:circular": "npm run build && madge --circular ./dist/es/index.js",
"test:performance": "npm run pretest && cross-env NODE_ENV=fast mocha --config ./config/.mocharc.js ./test_tmp/performance.test.js --unhandled-rejections=strict --expose-gc",
"couch:start": "docker run -d -p 5984:5984 --rm --name rxdb-couchdb couchdb:2.1.1",
"couch:stop": "docker rm -f rxdb-couchdb",
"test:couchdb": "npm run pretest && mocha --config ./config/.mocharc.js ./test_tmp/couch-db-integration.test.js",
"dockertest": "docker run -it -v $(pwd):/usr/src/app markadams/chromium-xvfb-js:latest-onbuild",
"profile": "npm run pretest && cross-env NODE_ENV=fast NODE_PROF=true mocha --config ./config/.mocharc.js ./test_tmp/unit.test.js --prof && node scripts/profile.js",
"clear": "rimraf -rf test_tmp/ && rimraf -rf dist/ && rimraf .transpile_state.json",
"lint": "npm run lint:js && npm run lint:ts",
"lint:js": "eslint config",
"lint:ts": "tslint --project ./",
"lint:fix": "tslint --project ./ --fix",
"check-types": "tsc",
"transpile": "node scripts/transpile.js",
"build:es": "rimraf -rf dist/es && cross-env NODE_ENV=es6 babel src --out-dir dist/es --source-maps --extensions \".ts,.js\"",
"build:types": "rimraf -rf ./dist/types && tsc --project ./config/tsconfig.types.json && cp -r ./src/types ./dist/types/types",
"build": "npm run clear && concurrently \"npm run transpile\" \"npm run build:es\" \"npm run build:types\" && browserify dist/lib/browserify.index.js > dist/rxdb.browserify.js && terser --compress --mangle --output dist/rxdb.browserify.min.js -- dist/rxdb.browserify.js",
"build:min": "npm run transpile && browserify dist/lib/browserify.index.js > dist/rxdb.browserify.js && terser --compress --mangle --output dist/rxdb.browserify.min.js -- dist/rxdb.browserify.js",
"build:webpack": "npm run build && cross-env NODE_ENV=build webpack --config ./config/webpack.config.js",
"build:rollup": "npm run build && rollup --config ./config/rollup.config.js",
"build:size": "npm run build:webpack && echo \"Build-Size (minified+gzip):\" && gzip-size --raw ./test_tmp/webpack.bundle.js",
"docs:install": "gitbook install docs-src",
"// docs:serve": "start a local server to watch the docs. Served at http://localhost:4000/",
"docs:serve": "gitbook serve docs-src",
"docs:build": "gitbook install docs-src && gitbook build docs-src docs && cp docs-src/files/logo/icon.png docs/gitbook/images/apple-touch-icon-precomposed-152.png && cp docs-src/files/logo/icon.ico docs/gitbook/images/favicon.ico && npm run docs:copy",
"docs:copy": "cp -r docs-src/files docs/files",
"disc": "npm run transpile && npm run build:es && cross-env NODE_ENV=disc webpack --config ./config/webpack.config.js",
"preversion": "npm run lint && npm run test",
"dev": "watch 'npm run test:fast' src/ test/",
"dev:example": "watch 'npm run transpile:src && echo \"done\"' src/ test/"
},
"pre-commit": [
"lint"
],
"peerDependencies": {
"rxjs": "^7.1.0"
},
"dependencies": {
"@babel/runtime": "7.14.8",
"@types/clone": "2.1.1",
"@types/cors": "2.8.12",
"@types/deep-equal": "1.0.1",
"@types/express": "4.17.13",
"@types/is-my-json-valid": "2.18.0",
"@types/object-path": "0.11.1",
"@types/spark-md5": "3.0.2",
"@types/pouchdb-core": "7.0.8",
"broadcast-channel": "3.7.0",
"clone": "^2.1.2",
"cors": "2.8.5",
"crypto-js": "4.0.0",
"custom-idle-queue": "3.0.1",
"deep-equal": "^2.0.1",
"deep-freeze": "0.0.1",
"event-reduce-js": "1.4.0",
"express": "4.17.1",
"get-graphql-from-jsonschema": "8.0.8",
"graphql-client": "2.0.1",
"is-electron": "2.2.0",
"is-my-json-valid": "2.20.5",
"jsonschema-key-compression": "1.4.0",
"modifyjs": "0.3.1",
"object-path": "0.11.5",
"oblivious-set": "1.0.0",
"pouchdb-adapter-http": "7.2.2",
"pouchdb-all-dbs": "1.1.1",
"pouchdb-core": "7.2.2",
"pouchdb-find": "7.2.2",
"pouchdb-md5": "7.2.2",
"pouchdb-replication": "7.2.2",
"pouchdb-selector-core": "7.2.2",
"pouchdb-utils": "7.2.2",
"random-token": "0.0.8",
"spark-md5": "^3.0.1",
"url": "^0.11.0",
"util": "0.12.4",
"z-schema": "5.0.1"
},
"devDependencies": {
"@babel/cli": "7.14.8",
"@babel/core": "7.14.8",
"@babel/plugin-proposal-class-properties": "7.14.5",
"@babel/plugin-proposal-object-rest-spread": "7.14.7",
"@babel/plugin-transform-member-expression-literals": "7.14.5",
"@babel/plugin-transform-modules-commonjs": "7.14.5",
"@babel/plugin-transform-property-literals": "7.14.5",
"@babel/plugin-transform-runtime": "7.14.5",
"@babel/plugin-transform-spread": "7.14.6",
"@babel/polyfill": "7.12.1",
"@babel/preset-env": "7.14.9",
"@babel/preset-typescript": "7.14.5",
"@babel/types": "7.14.9",
"@types/core-js": "2.5.4",
"@types/faker": "5.5.7",
"@types/memdown": "3.0.0",
"@types/mocha": "8.2.3",
"@types/node": "14.17.7",
"@types/pouchdb-adapter-memory": "6.1.3",
"@types/request": "2.48.7",
"@types/request-promise-native": "1.0.18",
"@types/ws": "7.4.7",
"assert": "2.0.0",
"async-test-util": "1.7.3",
"babel-plugin-transform-class-properties": "6.24.1",
"brfs": "2.0.2",
"browserify": "17.0.0",
"child-process-promise": "2.2.1",
"concurrently": "6.2.0",
"convert-hrtime": "3.0.0",
"cross-env": "7.0.3",
"delete": "1.1.0",
"dependency-check": "4.1.0",
"detect-browser": "5.2.0",
"disc": "1.3.3",
"eslint": "7.31.0",
"exists-file": "3.0.2",
"express-graphql": "0.12.0",
"express-pouchdb": "4.2.0",
"faker": "5.5.3",
"gitbook-cli": "2.3.2",
"graphql": "15.5.1",
"graphql-subscriptions": "1.2.1",
"gzip-size-cli": "5.0.0",
"karma": "6.3.4",
"karma-babel-preprocessor": "8.0.1",
"karma-browserify": "8.0.0",
"karma-chrome-launcher": "3.1.0",
"karma-coverage": "2.0.3",
"karma-detect-browsers": "2.3.3",
"karma-edge-launcher": "0.4.2",
"karma-firefox-launcher": "2.1.1",
"karma-ie-launcher": "1.0.0",
"karma-mocha": "2.0.1",
"karma-opera-launcher": "1.0.0",
"karma-safari-launcher": "1.0.0",
"leveldown": "6.0.0",
"madge": "5.0.1",
"memdown": "6.0.0",
"mocha": "9.0.2",
"mocha.parallel": "0.15.6",
"nconf": "0.11.3",
"pouchdb": "7.2.2",
"pouchdb-adapter-idb": "7.2.2",
"pouchdb-adapter-leveldb": "7.2.2",
"pouchdb-adapter-localstorage": "7.2.2",
"pouchdb-adapter-memory": "7.2.2",
"pouchdb-adapter-websql": "7.0.0",
"pouchdb-debug": "7.2.1",
"pre-commit": "1.2.2",
"random-int": "3.0.0",
"request": "2.88.2",
"request-promise": "4.2.6",
"request-promise-native": "1.0.9",
"rimraf": "3.0.2",
"rollup": "2.53.2",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-node-resolve": "5.2.0",
"rxjs": "7.2.0",
"shelljs": "0.8.4",
"source-map-support": "0.5.19",
"subscriptions-transport-ws": "0.9.19",
"terser": "5.7.1",
"terser-webpack-plugin": "4.2.3",
"ts-node": "10.0.0",
"tslint": "6.1.3",
"typescript": "4.3.5",
"walk-sync": "3.0.0",
"watch": "1.0.2",
"webpack": "4.46.0",
"webpack-bundle-analyzer": "4.4.2",
"webpack-cli": "4.7.2"
}
}