diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-05-08 20:52:00 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-05-10 23:46:57 +0800 |
commit | f9d80adaeeec827a8c2c81507d68d11e2681dcf3 (patch) | |
tree | b96fe5155073829c2c234428d2f5a7cc09c25733 /packages/migrations/package.json | |
parent | 422e5a19d4dc0461bdaecd9133bb8f19ac99baa6 (diff) | |
download | dexon-sol-tools-f9d80adaeeec827a8c2c81507d68d11e2681dcf3.tar dexon-sol-tools-f9d80adaeeec827a8c2c81507d68d11e2681dcf3.tar.gz dexon-sol-tools-f9d80adaeeec827a8c2c81507d68d11e2681dcf3.tar.bz2 dexon-sol-tools-f9d80adaeeec827a8c2c81507d68d11e2681dcf3.tar.lz dexon-sol-tools-f9d80adaeeec827a8c2c81507d68d11e2681dcf3.tar.xz dexon-sol-tools-f9d80adaeeec827a8c2c81507d68d11e2681dcf3.tar.zst dexon-sol-tools-f9d80adaeeec827a8c2c81507d68d11e2681dcf3.zip |
Remove deployer from 0x.js and migrations
Diffstat (limited to 'packages/migrations/package.json')
-rw-r--r-- | packages/migrations/package.json | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/migrations/package.json b/packages/migrations/package.json index e548d7365..a03ec1bdd 100644 --- a/packages/migrations/package.json +++ b/packages/migrations/package.json @@ -6,17 +6,24 @@ "types": "lib/index.d.ts", "scripts": { "build:watch": "tsc -w", + "prebuild": "run-s clean compile copy_artifacts generate_contract_wrappers", + "copy_artifacts": "copyfiles -u 4 'artifacts/1.0.0/**/*' ./lib/src/artifacts", "build": "tsc", "clean": "shx rm -rf lib", "lint": "tslint --project . 'src/**/*.ts'", "migrate": "run-s build compile script:migrate", "script:migrate": "node ./lib/migrate.js", "copy_artifacts": "copyfiles 'artifacts/1.0.0/**/*' ./lib", + "generate_contract_wrappers": "node ../abi-gen/lib/index.js --abis ${npm_package_config_abis} --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/contract_wrappers --backend ethers && prettier --write 'src/contract_wrappers/**.ts'", "compile": "node ../deployer/lib/src/cli.js compile" }, + "config": { + "abis": "artifacts/1.0.0/@(DummyToken|TokenTransferProxy|Exchange|TokenRegistry|MultiSigWallet|MultiSigWalletWithTimeLock|MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddress|TokenRegistry|ZRXToken|Arbitrage|EtherDelta|AccountLevels|WETH9|MaliciousToken).json" + }, "license": "Apache-2.0", "devDependencies": { "@0xproject/dev-utils": "^0.4.1", + "@0xproject/types": "^0.6.3", "@0xproject/tslint-config": "^0.4.17", "npm-run-all": "^4.1.2", "shx": "^0.2.2", @@ -25,6 +32,7 @@ }, "dependencies": { "@0xproject/deployer": "^0.4.3", + "@0xproject/base-contract": "^0.3.1", "@0xproject/utils": "^0.6.1", "@0xproject/web3-wrapper": "^0.6.3", "lodash": "^4.17.4" |