orbit-db/package.json
2017-12-09 15:17:13 +01:00

58 lines
1.9 KiB
JSON

{
"name": "orbit-db",
"version": "0.18.9",
"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"
},
"browser": {
"fs-pull-blob-store": "idb-pull-blob-store"
},
"main": "src/OrbitDB.js",
"dependencies": {
"logplease": "^1.2.14",
"multihashes": "^0.4.12",
"orbit-db-cache": "~0.0.7",
"orbit-db-counterstore": "~1.0.2",
"orbit-db-docstore": "~1.0.1",
"orbit-db-eventstore": "~1.0.0",
"orbit-db-feedstore": "~1.0.0",
"orbit-db-keystore": "~0.0.2",
"orbit-db-kvstore": "~1.0.0",
"orbit-db-pubsub": "~0.3.6"
},
"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",
"ipfs": "~0.27.0",
"ipfs-repo": "~0.18.0",
"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.0",
"webpack": "^3.8.1"
},
"scripts": {
"examples": "npm run examples:node",
"examples:node": "node examples/eventlog.js",
"examples:browser": "open examples/browser/browser.html",
"test": "mocha",
"build": "npm run build:es5 && npm run build:dist && npm run build:examples",
"build:examples": "webpack --config conf/webpack.example.config.js --sort-modules-by size",
"build:dist": "webpack --config conf/webpack.config.js --sort-modules-by size && cp dist/orbitdb.min.js examples/browser/lib/orbitdb.min.js",
"build:debug": "webpack --config conf/webpack.debug.config.js --sort-modules-by size && cp dist/orbitdb.js examples/browser/lib/orbitdb.min.js",
"build:es5": "babel src --out-dir ./dist/es5/ --presets babel-preset-es2015 --plugins babel-plugin-transform-runtime"
}
}