aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/contracts')
-rw-r--r--packages/contracts/README.md6
-rw-r--r--packages/contracts/package.json3
2 files changed, 8 insertions, 1 deletions
diff --git a/packages/contracts/README.md b/packages/contracts/README.md
index 0a1c272ab..11b9e5056 100644
--- a/packages/contracts/README.md
+++ b/packages/contracts/README.md
@@ -38,6 +38,12 @@ yarn install
yarn build
```
+or
+
+```bash
+yarn build:watch
+```
+
### Clean
```bash
diff --git a/packages/contracts/package.json b/packages/contracts/package.json
index 3f54e15c3..d5e352c5d 100644
--- a/packages/contracts/package.json
+++ b/packages/contracts/package.json
@@ -8,6 +8,7 @@
"test": "test"
},
"scripts": {
+ "build:watch": "tsc -w",
"prebuild": "run-s clean copy_artifacts",
"copy_artifacts": "copyfiles './artifacts/**/*' ./lib",
"build": "tsc",
@@ -52,7 +53,7 @@
"tslint": "5.8.0",
"types-bn": "^0.0.1",
"types-ethereumjs-util": "0xproject/types-ethereumjs-util",
- "typescript": "~2.6.1",
+ "typescript": "2.7.1",
"web3-typescript-typings": "^0.9.8",
"yargs": "^10.0.3"
},