aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-compiler
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-06-07 01:20:35 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-06-07 01:20:35 +0800
commit037912ccab9f4692b32260fa5548963956efe1c9 (patch)
tree31789de928bf66ad9051b9ee3b1716c54094bd55 /packages/sol-compiler
parentcea81df969160b7c33d52e54c668b0a2908750d7 (diff)
parentaf1d5fce6ea355b12bf5f63f51ea81ff596f7868 (diff)
downloaddexon-sol-tools-037912ccab9f4692b32260fa5548963956efe1c9.tar
dexon-sol-tools-037912ccab9f4692b32260fa5548963956efe1c9.tar.gz
dexon-sol-tools-037912ccab9f4692b32260fa5548963956efe1c9.tar.bz2
dexon-sol-tools-037912ccab9f4692b32260fa5548963956efe1c9.tar.lz
dexon-sol-tools-037912ccab9f4692b32260fa5548963956efe1c9.tar.xz
dexon-sol-tools-037912ccab9f4692b32260fa5548963956efe1c9.tar.zst
dexon-sol-tools-037912ccab9f4692b32260fa5548963956efe1c9.zip
Merge branch 'v2-prototype' of https://github.com/0xProject/0x-monorepo into feature/improve-linting
Diffstat (limited to 'packages/sol-compiler')
-rw-r--r--packages/sol-compiler/package.json6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/sol-compiler/package.json b/packages/sol-compiler/package.json
index 968139a86..0bd51972d 100644
--- a/packages/sol-compiler/package.json
+++ b/packages/sol-compiler/package.json
@@ -8,8 +8,10 @@
"main": "lib/src/index.js",
"types": "lib/src/index.d.ts",
"scripts": {
- "watch": "tsc -w",
- "build": "yarn clean && copyfiles 'test/fixtures/contracts/**/*' ./lib && tsc && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts",
+ "watch_without_deps": "yarn pre_build && tsc -w",
+ "build": "yarn pre_build && tsc && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts",
+ "pre_build": "run-s update_contract_fixtures",
+ "update_contract_fixtures": "copyfiles 'test/fixtures/contracts/**/*' ./lib",
"test": "yarn run_mocha",
"rebuild_and_test": "run-s build test",
"run_mocha": "mocha lib/test/*_test.js --bail --exit",