aboutsummaryrefslogtreecommitdiffstats
path: root/packages/tslint-config
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/tslint-config
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/tslint-config')
-rw-r--r--packages/tslint-config/README.md6
-rw-r--r--packages/tslint-config/package.json3
2 files changed, 8 insertions, 1 deletions
diff --git a/packages/tslint-config/README.md b/packages/tslint-config/README.md
index 8a6fa8a2f..b517f2d95 100644
--- a/packages/tslint-config/README.md
+++ b/packages/tslint-config/README.md
@@ -44,6 +44,12 @@ yarn install
yarn build
```
+or
+
+```bash
+yarn build:watch
+```
+
### Lint
```bash
diff --git a/packages/tslint-config/package.json b/packages/tslint-config/package.json
index 47b286e64..c2a8b0692 100644
--- a/packages/tslint-config/package.json
+++ b/packages/tslint-config/package.json
@@ -4,6 +4,7 @@
"description": "Lint rules related to 0xProject for TSLint",
"main": "tslint.json",
"scripts": {
+ "build:watch": "tsc -w",
"build": "tsc",
"clean": "shx rm -rf lib",
"lint": "tslint --project . 'rules/**/*.ts'"
@@ -38,7 +39,7 @@
"shx": "^0.2.2",
"tslint": "5.8.0",
"tslint-eslint-rules": "^4.1.1",
- "typescript": "~2.6.1"
+ "typescript": "2.7.1"
},
"dependencies": {
"lodash": "^4.17.4",