diff options
author | Fabio Berger <me@fabioberger.com> | 2018-06-06 20:46:52 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-06 20:46:52 +0800 |
commit | af1d5fce6ea355b12bf5f63f51ea81ff596f7868 (patch) | |
tree | 6dd6a07be9c6fabf94e1c3250faa86c1dc6aa26c /packages/sol-cov | |
parent | cc39eea9991306eabadd912256452f67fb49c20b (diff) | |
parent | 54b86b61312ac13bfe32d066ac08a79e7aabced8 (diff) | |
download | dexon-sol-tools-af1d5fce6ea355b12bf5f63f51ea81ff596f7868.tar dexon-sol-tools-af1d5fce6ea355b12bf5f63f51ea81ff596f7868.tar.gz dexon-sol-tools-af1d5fce6ea355b12bf5f63f51ea81ff596f7868.tar.bz2 dexon-sol-tools-af1d5fce6ea355b12bf5f63f51ea81ff596f7868.tar.lz dexon-sol-tools-af1d5fce6ea355b12bf5f63f51ea81ff596f7868.tar.xz dexon-sol-tools-af1d5fce6ea355b12bf5f63f51ea81ff596f7868.tar.zst dexon-sol-tools-af1d5fce6ea355b12bf5f63f51ea81ff596f7868.zip |
Merge pull request #665 from 0xProject/fix/fix-build-watch
Improve Build/Watch Commands
Diffstat (limited to 'packages/sol-cov')
-rw-r--r-- | packages/sol-cov/package.json | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/sol-cov/package.json b/packages/sol-cov/package.json index a159afed7..616b30912 100644 --- a/packages/sol-cov/package.json +++ b/packages/sol-cov/package.json @@ -8,7 +8,9 @@ "main": "lib/src/index.js", "types": "lib/src/index.d.ts", "scripts": { - "watch": "tsc -w", + "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 copy_test_fixtures", "lint": "tslint --project .", "test": "run-s compile_test run_mocha", "rebuild_and_test": "run-s clean build test", @@ -17,7 +19,7 @@ "test:circleci": "yarn test:coverage", "run_mocha": "mocha lib/test/**/*_test.js --exit", "clean": "shx rm -rf lib scripts test/fixtures/artifacts src/artifacts", - "build": "copyfiles 'test/fixtures/**/*' ./lib && tsc && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts", + "copy_test_fixtures": "copyfiles 'test/fixtures/**/*' ./lib", "compile_test": "sol-compiler compile", "manual:postpublish": "yarn build; node ./scripts/postpublish.js", "docs:stage": "node scripts/stage_docs.js", |