forked from gnosis/pm-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
86 lines (86 loc) · 3.22 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"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": "*"
}
}