60 lines
2.3 KiB
JSON
60 lines
2.3 KiB
JSON
{
|
|
"name": "orbit-db",
|
|
"version": "0.19.8",
|
|
"description": "Distributed p2p database on IPFS",
|
|
"author": "Haad",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/orbitdb/orbit-db"
|
|
},
|
|
"engines": {
|
|
"node": ">=8.0.0"
|
|
},
|
|
"main": "src/OrbitDB.js",
|
|
"dependencies": {
|
|
"ipfs-pubsub-1on1": "~0.0.4",
|
|
"logplease": "^1.2.14",
|
|
"multihashes": "^0.4.12",
|
|
"orbit-db-cache": "~0.2.2",
|
|
"orbit-db-counterstore": "~1.4.0",
|
|
"orbit-db-docstore": "~1.4.1",
|
|
"orbit-db-eventstore": "~1.4.0",
|
|
"orbit-db-feedstore": "~1.4.0",
|
|
"orbit-db-keystore": "~0.1.0",
|
|
"orbit-db-kvstore": "~1.4.0",
|
|
"orbit-db-store": "~2.5.0",
|
|
"orbit-db-pubsub": "~0.5.3"
|
|
},
|
|
"devDependencies": {
|
|
"babel-core": "^6.26.0",
|
|
"babel-loader": "^7.1.2",
|
|
"babel-plugin-transform-runtime": "^6.23.0",
|
|
"babel-polyfill": "^6.26.0",
|
|
"babel-preset-es2015": "^6.24.1",
|
|
"datastore-level": "~0.7.0",
|
|
"go-ipfs-dep": "0.4.13",
|
|
"ipfs": "~0.28.2",
|
|
"ipfs-repo": "~0.18.7",
|
|
"ipfsd-ctl": "~0.30.3",
|
|
"mocha": "^4.0.1",
|
|
"p-each-series": "^1.0.0",
|
|
"p-map-series": "^1.0.0",
|
|
"rimraf": "^2.6.2",
|
|
"uglifyjs-webpack-plugin": "^1.1.4",
|
|
"webpack": "^3.8.1"
|
|
},
|
|
"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",
|
|
"test": "TEST=all mocha",
|
|
"build": "npm run build:es5 && npm run build:debug && npm run build:dist && npm run build:examples",
|
|
"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:es5": "babel src --out-dir ./dist/es5/ --presets babel-preset-es2015 --plugins babel-plugin-transform-runtime"
|
|
}
|
|
}
|