mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-10-07 22:57:07 +00:00
101 lines
3.1 KiB
JSON
101 lines
3.1 KiB
JSON
{
|
|
"name": "orbit-db",
|
|
"version": "0.29.0",
|
|
"description": "Distributed p2p database on IPFS",
|
|
"author": "Haad",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/orbitdb/orbit-db"
|
|
},
|
|
"engines": {
|
|
"node": ">=16.0.0"
|
|
},
|
|
"files": [
|
|
"src",
|
|
"dist"
|
|
],
|
|
"type": "module",
|
|
"main": "src/OrbitDB.js",
|
|
"dependencies": {
|
|
"@ipld/dag-cbor": "^9.0.0",
|
|
"@libp2p/crypto": "^1.0.12",
|
|
"it-pipe": "^2.0.5",
|
|
"level": "^8.0.0",
|
|
"lru": "^3.1.0",
|
|
"multiformats": "^11.0.1",
|
|
"p-queue": "^7.3.4",
|
|
"timeout-abort-controller": "^3.0.0",
|
|
"uint8arrays": "^4.0.3"
|
|
},
|
|
"devDependencies": {
|
|
"@libp2p/webrtc-star-signalling-server": "^3.0.0",
|
|
"assert": "^2.0.0",
|
|
"babel-loader": "^9.1.2",
|
|
"c8": "^7.13.0",
|
|
"cross-env": "^7.0.3",
|
|
"fs-extra": "^11.1.0",
|
|
"ipfs-core": "^0.18.0",
|
|
"it-all": "^2.0.0",
|
|
"jsdoc": "^4.0.2",
|
|
"mocha": "^10.2.0",
|
|
"mocha-headless-chrome": "^4.0.0",
|
|
"open-cli": "^7.1.0",
|
|
"path-browserify": "^1.0.1",
|
|
"rimraf": "^4.1.3",
|
|
"standard": "^17.0.0",
|
|
"webpack": "^5.75.0",
|
|
"webpack-cli": "^5.0.1"
|
|
},
|
|
"scripts": {
|
|
"examples:eventlog": "node examples/eventlog.js",
|
|
"examples:keyvalue": "node examples/keyvalue.js",
|
|
"examples:browser": "open-cli examples/browser/browser.html",
|
|
"examples:browser-webpack": "open-cli examples/browser/browser-webpack-example/index.html",
|
|
"lint:docs": "remark -qf -u validate-links .",
|
|
"test:all": "npm run test:browser-multiple-tabs && npm run test",
|
|
"test": "cross-env mocha --config test/.mocharc.json",
|
|
"test:ci": "cross-env c8 mocha --config test/.mocharc.json",
|
|
"test:browser": "npm run build:tests && mocha-headless-chrome -t 360000 -f ./test/browser/index.html -a no-sandbox",
|
|
"test:browser-multiple-tabs": "npm run build:dist && cpy dist/orbitdb.min.js ./test/browser/ --rename=orbitdb.js --flat && cpy node_modules/ipfs/dist/index.min.js ./test/browser --rename=ipfs.js --flat && mocha ./test/browser/concurrent.spec.js",
|
|
"build": "npm run build:dist && npm run build:debug",
|
|
"build:examples": "webpack --config conf/webpack.example.config.js",
|
|
"build:dist": "webpack --config conf/webpack.config.js",
|
|
"build:debug": "webpack --config conf/webpack.debug.config.js",
|
|
"build:docs": "jsdoc -r src/**",
|
|
"build:tests": "rm -f test/browser/bundle.js* && webpack --config ./conf/webpack.tests.config.js",
|
|
"prepublishOnly": "npm run build",
|
|
"lint": "standard --env=mocha",
|
|
"lint:fix": "standard --fix",
|
|
"webrtc": "webrtc-star --port=12345",
|
|
"webrtc:background": "webrtc-star --port=12345 &"
|
|
},
|
|
"standard": {
|
|
"env": [
|
|
"mocha"
|
|
],
|
|
"ignore": [
|
|
"out/**",
|
|
"examples/**",
|
|
"test/fixtures/**",
|
|
"test/browser/**"
|
|
]
|
|
},
|
|
"localMaintainers": [
|
|
"haad <haad@haja.io>",
|
|
"shamb0t <shams@haja.io>",
|
|
"hajamark <mark@haja.io>"
|
|
],
|
|
"keywords": [
|
|
"crdt",
|
|
"merkle-crdt",
|
|
"database",
|
|
"decentralized",
|
|
"decentralised",
|
|
"distributed",
|
|
"ipfs",
|
|
"p2p",
|
|
"peer-to-peer"
|
|
]
|
|
}
|