f9feb27c09
package-lock pointing to branch more cache management stuff WIP Passing tests Removing static linking fixing tests and linting fixing package.json removing last debugger removing last debugger Adding keystore and cache getters PR comments Removing extraneous cache management Package files Closing caches using dbAddress as this.caches key new tests for store management Working but with slightly different semantics Rebuild package-lock Dependency updates removeHandler restoring db.close in replication status test package.json files move handler to orbitdb.caches Test updates Cache management cleanup use store.options.directory requestCache in onLoad and onDrop add status test Adding db to this.stores in onLoad and onDrop Working RC5 before rebase Updating package-lock restoring original replicaiton status test package files removing keystore getter more keystore cleanup typo
95 lines
3.8 KiB
JSON
95 lines
3.8 KiB
JSON
{
|
|
"name": "orbit-db",
|
|
"version": "0.22.0-rc4",
|
|
"description": "Distributed p2p database on IPFS",
|
|
"author": "Haad",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/orbitdb/orbit-db"
|
|
},
|
|
"engines": {
|
|
"node": ">=10.0.0"
|
|
},
|
|
"main": "src/OrbitDB.js",
|
|
"dependencies": {
|
|
"cids": "^0.7.1",
|
|
"ipfs-pubsub-1on1": "~0.0.4",
|
|
"is-node": "^1.0.2",
|
|
"localstorage-down": "^0.6.7",
|
|
"logplease": "^1.2.14",
|
|
"multihashes": "^0.4.12",
|
|
"orbit-db-access-controllers": "~0.2.2",
|
|
"orbit-db-cache": "next",
|
|
"orbit-db-counterstore": "next",
|
|
"orbit-db-docstore": "next",
|
|
"orbit-db-eventstore": "next",
|
|
"orbit-db-feedstore": "next",
|
|
"orbit-db-identity-provider": "next",
|
|
"orbit-db-io": "^0.1.1",
|
|
"orbit-db-keystore": "next",
|
|
"orbit-db-kvstore": "next",
|
|
"orbit-db-pubsub": "~0.5.5",
|
|
"orbit-db-storage-adapter": "^0.5.3",
|
|
"orbit-db-store": "next"
|
|
},
|
|
"devDependencies": {
|
|
"babel-cli": "^6.26.0",
|
|
"babel-core": "^6.26.0",
|
|
"babel-loader": "^7.1.2",
|
|
"babel-plugin-transform-runtime": "^6.23.0",
|
|
"babel-polyfill": "^6.26.0",
|
|
"babel-preset-env": "^1.7.0",
|
|
"datastore-level": "0.10.0",
|
|
"fs-extra": "^7.0.1",
|
|
"ipfs": "~0.36.4",
|
|
"ipfs-repo": "~0.26.6",
|
|
"ipfsd-ctl": "~0.42.3",
|
|
"go-ipfs-dep": "aphelionz/npm-go-ipfs-dep",
|
|
"localstorage-level-migration": "next",
|
|
"markdown-toc": "^1.2.0",
|
|
"mocha": "^5.2.0",
|
|
"p-each-series": "^1.0.0",
|
|
"p-map": "^1.2.0",
|
|
"p-map-series": "^1.0.0",
|
|
"p-whilst": "^1.0.0",
|
|
"pify": "^4.0.1",
|
|
"puppeteer": "^1.18.1",
|
|
"remark-cli": "^5.0.0",
|
|
"remark-validate-links": "^7.0.0",
|
|
"rimraf": "^2.6.2",
|
|
"standard": "^12.0.1",
|
|
"webpack": "^4.25.1",
|
|
"webpack-cli": "^3.1.2"
|
|
},
|
|
"scripts": {
|
|
"examples": "npm run examples:node",
|
|
"examples:node": "node examples/eventlog.js",
|
|
"examples:browser-macos": "open examples/browser/browser.html",
|
|
"examples:browser-linux": "xdg-open examples/browser/browser.html",
|
|
"lint:docs": "remark -qf -u validate-links .",
|
|
"test:all": "npm run test:browser-multiple-tabs && npm run test",
|
|
"test": "TEST=all mocha",
|
|
"test:browser-multiple-tabs": "npm run build:dist && cp dist/orbitdb.min.js ./test/browser/orbitdb.js && cp node_modules/ipfs/dist/index.js ./test/browser/ipfs.js && cp node_modules/orbit-db-identity-provider/dist/index-browser.min.js ./test/browser/identities.js && cp node_modules/ipfs-log/dist/ipfslog.min.js ./test/browser/ipfslog.min.js && mocha ./test/browser/concurrent.spec.js",
|
|
"build": "npm run build:es5 && npm run build:debug && npm run build:dist && npm run build:examples && npm run build:docs/toc",
|
|
"build:examples": "webpack --config conf/webpack.example.config.js --sort-modules-by size && mkdir -p examples/browser/lib && cp node_modules/ipfs/dist/index.js examples/browser/lib/ipfs.js",
|
|
"build:dist": "webpack --config conf/webpack.config.js --sort-modules-by size && mkdir -p examples/browser/lib && cp dist/orbitdb.min.js examples/browser/lib/orbitdb.min.js",
|
|
"build:debug": "webpack --config conf/webpack.debug.config.js --sort-modules-by size && mkdir -p examples/browser/lib && cp dist/orbitdb.js examples/browser/lib/orbitdb.js && cp dist/orbitdb.js.map examples/browser/lib/orbitdb.js.map",
|
|
"build:docs/toc": "markdown-toc --no-first1 -i README.md && markdown-toc --no-first1 -i API.md && markdown-toc --no-first1 -i GUIDE.md && markdown-toc --no-first1 -i CHANGELOG.md && markdown-toc --no-first1 -i FAQ.md ",
|
|
"build:es5": "babel src --out-dir ./dist/es5/ --presets babel-preset-env --plugins babel-plugin-transform-runtime"
|
|
},
|
|
"standard": {
|
|
"env": "mocha",
|
|
"ignore": [
|
|
"test/**",
|
|
"examples/**",
|
|
"benchmarks/**"
|
|
]
|
|
},
|
|
"localMaintainers": [
|
|
"haad <haad@haja.io>",
|
|
"shamb0t <shams@haja.io>",
|
|
"hajamark <mark@haja.io>"
|
|
]
|
|
}
|