aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-02-18 09:51:19 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-02-21 05:19:12 +0800
commit6685cb3fba85d5052c67b19ad3fd33c4ccfe5b67 (patch)
tree856d74570d7be0c0852a3cf280b230a8397a2699 /packages/contracts
parentd770e462082e9bd62c1bb1fda5be1b0799026081 (diff)
downloaddexon-sol-tools-6685cb3fba85d5052c67b19ad3fd33c4ccfe5b67.tar.gz
dexon-sol-tools-6685cb3fba85d5052c67b19ad3fd33c4ccfe5b67.tar.zst
dexon-sol-tools-6685cb3fba85d5052c67b19ad3fd33c4ccfe5b67.zip
Fix race condition
Diffstat (limited to 'packages/contracts')
-rw-r--r--packages/contracts/package.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/contracts/package.json b/packages/contracts/package.json
index b125697ae..6655df86f 100644
--- a/packages/contracts/package.json
+++ b/packages/contracts/package.json
@@ -9,10 +9,10 @@
},
"scripts": {
"build:watch": "tsc -w",
- "prebuild": "run-s clean copy_artifacts generate_contract_wrappers",
+ "prebuild": "run-s clean compile copy_artifacts generate_contract_wrappers",
"copy_artifacts": "copyfiles './src/artifacts/**/*' ./lib",
"build": "tsc",
- "test": "run-s compile build run_mocha",
+ "test": "run-s build run_mocha",
"run_mocha": "mocha 'lib/test/**/*.js' --timeout 10000 --bail --exit",
"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 --contracts ${npm_package_config_contracts} --contracts-dir src/contracts --artifacts-dir src/artifacts",