aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts
diff options
context:
space:
mode:
authorLeonid <logvinov.leon@gmail.com>2018-02-05 19:03:36 +0800
committerGitHub <noreply@github.com>2018-02-05 19:03:36 +0800
commitc7ad6ebad6ab65a4b1e4a2084e744c6ca2bc09b8 (patch)
tree4829624adc8a36ff6d80db185e6021cac846a55a /packages/contracts
parent44cd185c66b08a5a9b081c972e7cb6764c066506 (diff)
parent85b4a82a4bc1059b3321763e20b8e2c4d8ff0e73 (diff)
downloaddexon-0x-contracts-c7ad6ebad6ab65a4b1e4a2084e744c6ca2bc09b8.tar
dexon-0x-contracts-c7ad6ebad6ab65a4b1e4a2084e744c6ca2bc09b8.tar.gz
dexon-0x-contracts-c7ad6ebad6ab65a4b1e4a2084e744c6ca2bc09b8.tar.bz2
dexon-0x-contracts-c7ad6ebad6ab65a4b1e4a2084e744c6ca2bc09b8.tar.lz
dexon-0x-contracts-c7ad6ebad6ab65a4b1e4a2084e744c6ca2bc09b8.tar.xz
dexon-0x-contracts-c7ad6ebad6ab65a4b1e4a2084e744c6ca2bc09b8.tar.zst
dexon-0x-contracts-c7ad6ebad6ab65a4b1e4a2084e744c6ca2bc09b8.zip
Merge pull request #358 from 0xProject/feature/build_watch
Add build:watch command to all TS packages
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"
},