diff --git a/index.js b/index.js index 3dd8535..bbc4cdd 100644 --- a/index.js +++ b/index.js @@ -1,4 +1,4 @@ -const mongoConnector = require("../../dataextractor/connectors/mongodb/index.js") +const mongoConnector = require("p2b2-connector-mongodb") const winston = require("winston") const Web3 = require("web3") var web3 = new Web3(new Web3.providers.HttpProvider("http://localhost:8545")) diff --git a/package-lock.json b/package-lock.json deleted file mode 100644 index 73131f5..0000000 --- a/package-lock.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "name": "p2b2-analysis", - "version": "0.0.1", - "lockfileVersion": 1, - "dependencies": { - "async": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/async/-/async-1.0.0.tgz", - "integrity": "sha1-+PwEyjoTeErenhZBr5hXjPvWR6k=" - }, - "bignumber.js": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-4.0.2.tgz", - "integrity": "sha1-LR3DfuWWiGfs6pC22k0W5oYI0h0=" - }, - "colors": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/colors/-/colors-1.0.3.tgz", - "integrity": "sha1-BDP0TYCWgP3rYO0mDxsMJi6CpAs=" - }, - "crypto-js": { - "version": "3.1.8", - "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-3.1.8.tgz", - "integrity": "sha1-cV8HC/YBTyrpkqmLOSkli3E/CNU=" - }, - "cycle": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/cycle/-/cycle-1.0.3.tgz", - "integrity": "sha1-IegLK+hYD5i0aPN5QwZisEbDStI=" - }, - "es6-promise": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.1.0.tgz", - "integrity": "sha1-3aA8qPn4m8WX5omEKSnee6jOvfA=" - }, - "eyes": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/eyes/-/eyes-0.1.8.tgz", - "integrity": "sha1-Ys8SAjTGg3hdkCNIqADvPgzCC8A=" - }, - "isstream": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", - "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" - }, - "stack-trace": { - "version": "0.0.10", - "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", - "integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=" - }, - "utf8": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.2.tgz", - "integrity": "sha1-H6DZJw6b6FDZsFAn9jUZv0ZFfZY=" - }, - "web3": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/web3/-/web3-0.19.0.tgz", - "integrity": "sha1-ixj7okQhpZ0ohIWby5txjCZlUk4=" - }, - "winston": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/winston/-/winston-2.3.1.tgz", - "integrity": "sha1-C0hCDZeMAYBM8CMLZIhhWYIloRk=" - }, - "xhr2": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/xhr2/-/xhr2-0.1.4.tgz", - "integrity": "sha1-f4dliEdxbbUCYyOBL4GMras4el8=" - }, - "xmlhttprequest": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/xmlhttprequest/-/xmlhttprequest-1.8.0.tgz", - "integrity": "sha1-Z/4HXFwk/vOfnWX197f+dRcZaPw=" - } - } -} diff --git a/package.json b/package.json index d77e487..80b10dd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "p2b2-analysis", - "version": "0.0.1", + "name": "p2b2-analysis-mongodb", + "version": "0.0.3", "description": "Map-Reduce and further analysis on the p2b2 system", "main": "index.js", "scripts": { @@ -14,11 +14,20 @@ "ethereum" ], "author": "Simon Buchholz, Steffen Härtlein", - "license": "ISC", + "license": "MIT", "dependencies": { "bignumber.js": "^4.0.2", "es6-promise": "^4.1.0", "web3": "^0.19.0", - "winston": "^2.3.1" - } + "winston": "^2.3.1", + "p2b2-connector-mongodb": "^0.0.3" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/p2b2/p2b2-analysis-mongodb.git" + }, + "bugs": { + "url": "https://github.com/p2b2/p2b2-analysis-mongodb/issues" + }, + "homepage": "https://github.com/p2b2/p2b2-analysis-mongodb#readme" }