@fleupold/dex-contracts
Version:
Contracts for dFusion multi-token batch auction exchange
127 lines (126 loc) • 4.86 kB
JSON
{
"name": "@fleupold/dex-contracts",
"version": "0.4.2",
"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/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.1.3"
},
"devDependencies": {
"@gnosis.pm/mock-contract": "^3.0.8",
"@gnosis.pm/owl-token": "^3.1.0",
"@gnosis.pm/solidity-data-structures": "1.3.5",
"@gnosis.pm/util-contracts": "2.0.7",
"@openzeppelin/contracts": "=2.5.1",
"@truffle/contract": "^4.2.19",
"@typechain/truffle-v5": "^2.0.2",
"@typechain/web3-v1": "^1.0.0",
"@types/chai": "^4.2.12",
"@types/mocha": "^8.0.3",
"@typescript-eslint/eslint-plugin": "^3.10.1",
"@typescript-eslint/parser": "^3.10.1",
"bignumber.js": "^9.0.0",
"chai": "^4.2.0",
"coveralls": "^3.1.0",
"cross-fetch": "^3.0.5",
"dotenv": "^8.2.0",
"eslint": "^7.7.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-no-only-tests": "^2.4.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-tsdoc": "^0.2.6",
"eth-gas-reporter": "^0.2.17",
"ganache-cli": "^6.10.1",
"mocha": "^8.1.2",
"prettier": "^2.1.1",
"prettier-plugin-solidity": "^1.0.0-alpha.56",
"rimraf": "^3.0.2",
"solhint": "^3.2.0",
"solhint-plugin-prettier": "0.0.5",
"solidity-bytes-utils": "0.0.9",
"solidity-coverage": "^0.7.10",
"solium": "^1.2.5",
"truffle": "^5.1.41",
"truffle-assertions": "^0.9.2",
"truffle-plugin-verify": "^0.3.11",
"ts-node": "^9.0.0",
"typechain": "^2.0.0",
"typescript": "^4.0.2",
"typescript-logging": "^1.0.0",
"web3": "^1.2.11",
"web3-core": "^1.2.9",
"web3-eth-contract": "^1.2.11",
"web3-utils": "^1.2.9",
"yargs": "^15.4.1"
}
}