diff options
author | Fabio Berger <me@fabioberger.com> | 2018-04-09 16:14:25 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-04-09 16:14:25 +0800 |
commit | 919b327fc534e3c2dc6330130cee690f0fa39fea (patch) | |
tree | fd58793bcd44f0c50e143f8f07c359e444ec34ee /packages/migrations/package.json | |
parent | e05b55d4a5698d3e936e7164ed69d9417d12cd12 (diff) | |
download | dexon-0x-contracts-919b327fc534e3c2dc6330130cee690f0fa39fea.tar.gz dexon-0x-contracts-919b327fc534e3c2dc6330130cee690f0fa39fea.tar.zst dexon-0x-contracts-919b327fc534e3c2dc6330130cee690f0fa39fea.zip |
Move migrations into separate monorepo subpackage and hook it up to 0x.js and contracts
Diffstat (limited to 'packages/migrations/package.json')
-rw-r--r-- | packages/migrations/package.json | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/packages/migrations/package.json b/packages/migrations/package.json new file mode 100644 index 000000000..65946aa71 --- /dev/null +++ b/packages/migrations/package.json @@ -0,0 +1,36 @@ +{ + "private": true, + "name": "@0xproject/migrations", + "version": "0.0.1", + "description": "0x smart contract migrations", + "main": "lib/index.js", + "types": "lib/index.d.ts", + "scripts": { + "build:watch": "tsc -w", + "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 'src/artifacts/**/*' ./lib", + "compile": "node ../deployer/lib/src/cli.js compile --contracts ${npm_package_config_contracts} --contracts-dir ../contracts/src/contracts --artifacts-dir src/artifacts" + }, + "config": { + "contracts": "Exchange,DummyToken,ZRXToken,Token,WETH9,TokenTransferProxy,MultiSigWallet,MultiSigWalletWithTimeLock,MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddress,MaliciousToken,TokenRegistry,Arbitrage,EtherDelta,AccountLevels" + }, + "license": "Apache-2.0", + "devDependencies": { + "@0xproject/tslint-config": "^0.4.14", + "@0xproject/dev-utils": "^0.3.4", + "npm-run-all": "^4.1.2", + "shx": "^0.2.2", + "tslint": "5.8.0", + "typescript": "2.7.1" + }, + "dependencies": { + "@0xproject/deployer": "^0.3.5", + "@0xproject/utils": "^0.5.0", + "@0xproject/web3-wrapper": "^0.5.0", + "lodash": "^4.17.4" + } +} |