diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-30 22:45:55 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-30 23:01:37 +0800 |
commit | 4f6168a982a5e0702a96a2d04b966eca22793d7a (patch) | |
tree | 91bb6e25af01ab61f3988d5925f7182fcba566c8 /packages/contracts | |
parent | 218a8729686064356d0133462c73eceed97000b4 (diff) | |
download | dexon-sol-tools-4f6168a982a5e0702a96a2d04b966eca22793d7a.tar dexon-sol-tools-4f6168a982a5e0702a96a2d04b966eca22793d7a.tar.gz dexon-sol-tools-4f6168a982a5e0702a96a2d04b966eca22793d7a.tar.bz2 dexon-sol-tools-4f6168a982a5e0702a96a2d04b966eca22793d7a.tar.lz dexon-sol-tools-4f6168a982a5e0702a96a2d04b966eca22793d7a.tar.xz dexon-sol-tools-4f6168a982a5e0702a96a2d04b966eca22793d7a.tar.zst dexon-sol-tools-4f6168a982a5e0702a96a2d04b966eca22793d7a.zip |
Separate npm scripts in contracts
Diffstat (limited to 'packages/contracts')
-rw-r--r-- | packages/contracts/package.json | 5 |
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": |