aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/contracts/package.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/contracts/package.json b/packages/contracts/package.json
index 44f1d0af9..e953a9d2b 100644
--- a/packages/contracts/package.json
+++ b/packages/contracts/package.json
@@ -8,8 +8,9 @@
"test": "test"
},
"scripts": {
- "build":
- "rm -rf ./lib; copyfiles './build/**/*' './deploy/solc/solc_bin/*' './deploy/test/fixtures/contracts/**/*' './deploy/test/fixtures/contracts/*' ./lib; tsc",
+ "prebuild": "run-s clean copy_artifacts",
+ "copy_artifacts": "copyfiles './build/**/*' './deploy/solc/solc_bin/*' './deploy/test/fixtures/contracts/**/*' './deploy/test/fixtures/contracts/*' ./lib",
+ "build": "tsc",
"test": "run-s build compile run_mocha",
"run_mocha": "mocha 'lib/test/**/*.js' --timeout 10000 --bail --exit",
"compile:comment":