diff options
Diffstat (limited to 'packages/contracts/package.json')
-rw-r--r-- | packages/contracts/package.json | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/contracts/package.json b/packages/contracts/package.json index 1cf716f92..3049c1666 100644 --- a/packages/contracts/package.json +++ b/packages/contracts/package.json @@ -11,14 +11,13 @@ "build": "rm -rf ./lib; copyfiles ./build/**/* ./deploy/solc/solc_bin/* ./deploy/test/fixtures/contracts/**/* ./deploy/test/fixtures/contracts/* ./lib; tsc;", "test": "npm run build; truffle test", - "compile": "npm run build; node lib/deploy/cli.js compile", + "compile:comment": + "Yarn workspaces do not link binaries correctly so we need to reference them directly https://github.com/yarnpkg/yarn/issues/3846", + "compile": "node ../deployer/lib/src/cli.js compile", "clean": "rm -rf ./lib", - "migrate:truffle": "npm run build; truffle migrate", - "migrate": "npm run build; node lib/deploy/cli.js migrate", + "migrate": "node ../deployer/lib/src/cli.js migrate", "lint": "tslint --project . 'migrations/**/*.ts' 'test/**/*.ts' 'util/**/*.ts' 'deploy/**/*.ts'", - "test:circleci:contracts": "yarn test", - "test:circleci:deployer": "yarn test:deployer", - "test:deployer": "npm run build; mocha lib/deploy/test/*_test.js" + "test:circleci": "yarn test" }, "repository": { "type": "git", @@ -58,6 +57,7 @@ }, "dependencies": { "0x.js": "^0.30.0", + "@0xproject/deployer": "*", "@0xproject/json-schemas": "^0.7.3", "@0xproject/utils": "^0.2.0", "@0xproject/web3-wrapper": "^0.1.5", |