aboutsummaryrefslogtreecommitdiffstats
path: root/packages/migrations/package.json
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-06-05 21:38:40 +0800
committerFabio Berger <me@fabioberger.com>2018-06-05 21:38:40 +0800
commit25f62daf146895a1e0e0c966166f08f28467ae2e (patch)
tree6366e90b21d8aa4198c8719f005b4e2e51f26fa3 /packages/migrations/package.json
parent44a736c53b8901ee36dbe009ad570930bbc8e676 (diff)
downloaddexon-sol-tools-25f62daf146895a1e0e0c966166f08f28467ae2e.tar
dexon-sol-tools-25f62daf146895a1e0e0c966166f08f28467ae2e.tar.gz
dexon-sol-tools-25f62daf146895a1e0e0c966166f08f28467ae2e.tar.bz2
dexon-sol-tools-25f62daf146895a1e0e0c966166f08f28467ae2e.tar.lz
dexon-sol-tools-25f62daf146895a1e0e0c966166f08f28467ae2e.tar.xz
dexon-sol-tools-25f62daf146895a1e0e0c966166f08f28467ae2e.tar.zst
dexon-sol-tools-25f62daf146895a1e0e0c966166f08f28467ae2e.zip
- Rename watch to watch_without_deps in sub-packages, so dev's don't confuse running watch from root dir, with sub-package dir
- stop using special prebuild script name and run pre_build steps for `watch` and `build` commands - Remove `clean` step from `build`/`watch`
Diffstat (limited to 'packages/migrations/package.json')
-rw-r--r--packages/migrations/package.json6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/migrations/package.json b/packages/migrations/package.json
index cad64f5ca..49014f564 100644
--- a/packages/migrations/package.json
+++ b/packages/migrations/package.json
@@ -8,10 +8,10 @@
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
- "watch": "tsc -w",
- "prebuild": "run-s clean copy_artifacts generate_contract_wrappers",
+ "watch_without_deps": "yarn pre_build && tsc -w",
+ "build": "yarn pre_build && tsc",
+ "pre_build": "run-s copy_artifacts generate_contract_wrappers",
"copy_artifacts": "copyfiles 'artifacts/**/*' ./lib",
- "build": "tsc",
"clean": "shx rm -rf lib src/contract_wrappers",
"lint": "tslint --project .",
"migrate:v1": "run-s build compile:v1 script:migrate:v1",