UNPKG

@gnosis.pm/pm-js

Version:

A javascript library for building applications on top of Gnosis, the Ethereum prediction market platform

87 lines (86 loc) 3.3 kB
{ "name": "@gnosis.pm/pm-js", "version": "2.2.0", "description": "A javascript library for building applications on top of Gnosis, the Ethereum prediction market platform", "scripts": { "lint": "eslint ./", "compile": "cd node_modules/@gnosis.pm/pm-contracts && truffle compile", "migrate": "npm run migrate-core --", "migrate-core": "cd node_modules/@gnosis.pm/pm-contracts && truffle migrate", "migrate-oly": "cd node_modules/@gnosis.pm/pm-apollo-contracts && truffle migrate", "netreset": "npm run netreset-core && npm run netreset-oly", "netreset-core": "cd node_modules/@gnosis.pm/pm-contracts && truffle networks --clean && tnt iN", "netreset-oly": "cd node_modules/@gnosis.pm/pm-apollo-contracts && truffle networks --clean && tnt iN", "nodebuild": "babel src/ --out-dir dist --source-maps", "webbuild": "webpack && cross-env WEBPACK_ENV=minified webpack -p", "dev": "run-with-testrpc 'npm run migrate && webpack-dev-server'", "test": "run-with-testrpc -l 40000000 -i 437894314312 -d 'npm run migrate -- --network quickstart && npm run test-manual'", "test-manual": "multidep test/multidep.json && mocha --timeout 120000 --require babel-core/register $MOCHA_OPTS", "test-pm-trading-db": "cross-env GNOSIS_OPTIONS='{\"ipfs\":{\"host\":\"localhost\",\"port\":5001,\"protocol\":\"http\"}}' npm run test-manual", "prepublish": "npm run netreset && npm run nodebuild && npm run webbuild" }, "main": "dist/index", "repository": { "type": "git", "url": "git+https://github.com/gnosis/pm-js.git" }, "keywords": [ "gnosis", "ethereum", "blockchain", "contract", "library", "prediction", "market" ], "author": "Gnosis (https://gnosis.pm/)", "license": "MIT", "homepage": "https://github.com/gnosis/pm-js#readme", "devDependencies": { "@gnosis.pm/pm-apollo-contracts": "^1.4.1", "@gnosis.pm/pm-contracts": "1.2.0", "@gnosis.pm/truffle-nice-tools": "1.1.3", "babel-cli": "^6.26.0", "babel-core": "^6.26.0", "babel-eslint": "^8.2.2", "babel-loader": "^7.1.4", "babel-plugin-add-module-exports": "^0.2.1", "babel-plugin-lodash": "^3.3.2", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-env": "^1.6.1", "babel-register": "^6.26.0", "cross-env": "^5.1.4", "css-loader": "^0.28.11", "eslint": "^4.19.0", "eslint-plugin-babel": "^4.1.2", "ganache-cli": "^6.1.0", "jsdoc": "^3.5.5", "jsdoc-strip-async-await": "^0.1.0", "json-loader": "^0.5.7", "json-x-loader": "^0.3.0", "lodash-webpack-plugin": "^0.11.4", "minami": "github:cag/minami", "mocha": "^5.0.4", "multidep": "^2.0.2", "npm-prepublish": "^1.2.3", "open": "0.0.5", "run-with-testrpc": "^0.3.0", "style-loader": "^0.20.3", "truffle": "^3.4.11", "webpack": "^4.1.1", "webpack-cli": "^2.0.12", "webpack-dev-server": "^3.1.1" }, "dependencies": { "babel-polyfill": "^6.26.0", "babel-runtime": "^6.26.0", "decimal.js": "^10.0.0", "ipfs-mini": "^1.1.2", "lodash": "^4.17.5", "truffle-contract": "github:cag/truffle-contract#0095707aa042b3c4fdb913a8a7cb0505a3a68d7c", "web3": "^0.20.7" }, "peerDependencies": { "@gnosis.pm/pm-contracts": "*" } }