-
Notifications
You must be signed in to change notification settings - Fork 38
/
package.json
126 lines (126 loc) · 4.76 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "@gnosis.pm/dex-contracts",
"version": "0.5.1",
"description": "Contracts for dFusion multi-token batch auction exchange",
"main": "build/common/src/index.js",
"types": "build/common/src/index.d.ts",
"ts:main": "src/index.ts",
"module": "build/esm/src/index.js",
"jsnext:main": "build/esm/src/index.js",
"directories": {
"test": "test"
},
"scripts": {
"build": "truffle build && yarn run networks-reset && yarn run ts",
"test": "yarn run test-contracts && yarn run test-ts",
"test-stablex": "yarn run test-contracts test/stablex/*",
"test-contracts": "truffle test",
"test-ts": "mocha -r ts-node/register 'test/models/**/*spec.ts'",
"test-streamed-orderbook": "TEST_STREAMED_ORDERBOOK_E2E=1 mocha -r ts-node/register test/models/streamed/index.spec.ts",
"coverage": "truffle run coverage --network coverage",
"networks-extract": "CONF_FILE=$(pwd)'/migration_conf.js' node node_modules/@gnosis.pm/util-contracts/src/extract_network_info.js",
"networks-inject": "CONF_FILE=$(pwd)'/migration_conf.js' node node_modules/@gnosis.pm/util-contracts/src/inject_network_info.js",
"networks-reset": "mkdir -p build/contracts && truffle networks --clean && yarn run networks-inject",
"verify-stablex": "truffle run verify BatchExchange",
"lint": "yarn run lint:solidity && yarn run lint:ts",
"lint:solidity": "solhint \"contracts/**/*.sol\"",
"lint:ts": "eslint . --ext .js,.ts",
"prepack": "yarn run build",
"prettier": "yarn run prettier:solidity && yarn run prettier:ts",
"prettier:solidity": "prettier --write 'contracts/**/*.sol'",
"prettier:ts": "prettier --write './**/*.{js,ts}'",
"spread-orders": "npx truffle exec scripts/place_spread_orders.js",
"ts": "yarn ts-contracts && yarn tsc:commonjs && yarn tsc:esm",
"tsc:commonjs": "rimraf build/common && tsc --outDir build/common",
"tsc:esm": "rimraf build/esm && tsc -m es6 -t esnext --outDir build/esm",
"ts-contracts": "yarn ts-contracts:web3 && yarn ts-contracts:truffle",
"ts-contracts:truffle": "typechain --target truffle-v5 --outDir build/truffle-typings \"build/contracts/*.json\"",
"ts-contracts:web3": "typechain --target web3-v1 --outDir build/types \"build/contracts/{BatchExchange,BatchExchangeViewer}.json\"",
"ganache": "ganache-cli --host 0.0.0.0 --gasLimit 8e6 --deterministic",
"truffle-exec": "sh -c 'npx truffle exec build/common/${0%.*}.js $@'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/gnosis/dex-contracts.git"
},
"files": [
"build/contracts/BatchExchange.json",
"build/contracts/BatchExchangeViewer.json",
"build/contracts/EpochTokenLocker.json",
"build/contracts/IERC20.json",
"build/contracts/Migrations.json",
"build/contracts/SolutionSubmitter.json",
"build/contracts/TokenConservation.json",
"build/types",
"build/common",
"build/esm",
"networks.json",
"src"
],
"keywords": [
"decentralized",
"exchange",
"dFusion",
"gnosis",
"dex",
"batch",
"auction",
"multi-token"
],
"author": "GNOSIS",
"license": "LGPL-3.0",
"bugs": {
"url": "https://github.com/gnosis/dex-contracts/issues"
},
"homepage": "https://github.com/gnosis/dex-contracts#readme",
"sideEffects": false,
"dependencies": {
"bn.js": "^5.2.0"
},
"devDependencies": {
"@gnosis.pm/mock-contract": "^3.0.8",
"@gnosis.pm/owl-token": "^4.0.0",
"@gnosis.pm/solidity-data-structures": "1.3.5",
"@gnosis.pm/util-contracts": "2.0.7",
"@openzeppelin/contracts": "=2.5.1",
"@truffle/contract": "^4.3.9",
"@typechain/truffle-v5": "^2.0.2",
"@typechain/web3-v1": "^1.0.0",
"@types/chai": "^4.2.16",
"@types/mocha": "^8.2.2",
"@typescript-eslint/eslint-plugin": "^4.21.0",
"@typescript-eslint/parser": "^4.21.0",
"bignumber.js": "^9.0.1",
"chai": "^4.3.4",
"coveralls": "^3.1.0",
"dotenv": "^8.2.0",
"eslint": "^7.15.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-no-only-tests": "^2.5.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-tsdoc": "^0.2.11",
"eth-gas-reporter": "^0.2.22",
"ganache-cli": "6.12.0",
"mocha": "^8.2.0",
"prettier": "^2.2.1",
"prettier-plugin-solidity": "^1.0.0-alpha.59",
"rimraf": "^3.0.2",
"solhint": "^3.3.4",
"solhint-plugin-prettier": "0.0.5",
"solidity-bytes-utils": "0.1.2",
"solidity-coverage": "^0.7.16",
"solium": "^1.2.5",
"truffle": "^5.1.51",
"truffle-assertions": "^0.9.2",
"truffle-plugin-verify": "^0.5.7",
"ts-node": "^9.1.1",
"typechain": "^2.0.1",
"typescript": "^4.2.4",
"typescript-logging": "^1.0.0",
"web3": "^1.3.5",
"web3-core": "^1.3.2",
"web3-eth-contract": "^1.3.4",
"web3-utils": "^1.2.9",
"yargs": "^16.2.0"
}
}