diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-01 19:30:41 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-01 19:32:05 +0800 |
commit | 09659cc3041e8662e64beab2728477f3437c1ced (patch) | |
tree | 159b1914baafc170dda7428307fcf51d8887139d /packages | |
parent | 6682abf89dcdf566f05f8d88cb6af06c4bb1f6a2 (diff) | |
download | dexon-0x-contracts-09659cc3041e8662e64beab2728477f3437c1ced.tar.gz dexon-0x-contracts-09659cc3041e8662e64beab2728477f3437c1ced.tar.zst dexon-0x-contracts-09659cc3041e8662e64beab2728477f3437c1ced.zip |
Add build:watch command to all TS packages
Diffstat (limited to 'packages')
-rw-r--r-- | packages/0x.js/package.json | 1 | ||||
-rw-r--r-- | packages/abi-gen/package.json | 1 | ||||
-rw-r--r-- | packages/assert/package.json | 1 | ||||
-rw-r--r-- | packages/connect/package.json | 1 | ||||
-rw-r--r-- | packages/contracts/package.json | 1 | ||||
-rw-r--r-- | packages/deployer/package.json | 1 | ||||
-rw-r--r-- | packages/dev-utils/package.json | 1 | ||||
-rw-r--r-- | packages/json-schemas/package.json | 1 | ||||
-rw-r--r-- | packages/monorepo-scripts/package.json | 1 | ||||
-rw-r--r-- | packages/subproviders/package.json | 1 | ||||
-rw-r--r-- | packages/testnet-faucets/package.json | 1 | ||||
-rw-r--r-- | packages/tslint-config/package.json | 1 | ||||
-rw-r--r-- | packages/types/package.json | 1 | ||||
-rw-r--r-- | packages/utils/package.json | 1 | ||||
-rw-r--r-- | packages/web3-wrapper/package.json | 1 |
15 files changed, 15 insertions, 0 deletions
diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json index 32063aab2..93ffef376 100644 --- a/packages/0x.js/package.json +++ b/packages/0x.js/package.json @@ -6,6 +6,7 @@ "main": "lib/src/index.js", "types": "lib/src/index.d.ts", "scripts": { + "build:watch": "tsc -w", "prebuild": "run-s clean generate_contract_wrappers", "build": "run-p build:umd:prod build:commonjs; exit 0;", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --json $JSON_FILE_PATH $PROJECT_DIR", diff --git a/packages/abi-gen/package.json b/packages/abi-gen/package.json index b43df00fe..b4173be8c 100644 --- a/packages/abi-gen/package.json +++ b/packages/abi-gen/package.json @@ -5,6 +5,7 @@ "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { + "build:watch": "tsc -w", "lint": "tslint --project . 'src/**/*.ts'", "clean": "shx rm -rf lib", "build": "tsc" diff --git a/packages/assert/package.json b/packages/assert/package.json index fa2de5c0a..66ef2e010 100644 --- a/packages/assert/package.json +++ b/packages/assert/package.json @@ -5,6 +5,7 @@ "main": "lib/src/index.js", "types": "lib/src/index.d.ts", "scripts": { + "build:watch": "tsc -w", "build": "tsc", "clean": "shx rm -rf _bundles lib test_temp", "lint": "tslint --project . 'src/**/*.ts' 'test/**/*.ts'", diff --git a/packages/connect/package.json b/packages/connect/package.json index 2dbd97dc4..2a7c29e9c 100644 --- a/packages/connect/package.json +++ b/packages/connect/package.json @@ -6,6 +6,7 @@ "main": "lib/src/index.js", "types": "lib/src/index.d.ts", "scripts": { + "build:watch": "tsc -w", "build": "tsc", "clean": "shx rm -rf _bundles lib test_temp", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --json $JSON_FILE_PATH $PROJECT_DIR", diff --git a/packages/contracts/package.json b/packages/contracts/package.json index d2f4df0b4..90317e82d 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 './build/**/*' './deploy/solc/solc_bin/*' './deploy/test/fixtures/contracts/**/*' './deploy/test/fixtures/contracts/*' ./lib", "build": "tsc", diff --git a/packages/deployer/package.json b/packages/deployer/package.json index 8bff8445c..580c9c1e2 100644 --- a/packages/deployer/package.json +++ b/packages/deployer/package.json @@ -5,6 +5,7 @@ "main": "lib/src/index.js", "types": "lib/src/index.d.ts", "scripts": { + "build:watch": "tsc -w", "build": "yarn clean && copyfiles 'test/fixtures/contracts/**/*' src/solc/solc_bin/* ./lib && tsc", "test": "npm run build; mocha lib/test/*_test.js", "compile": "npm run build; node lib/src/cli.js compile", diff --git a/packages/dev-utils/package.json b/packages/dev-utils/package.json index ec0872a46..9bf48c23c 100644 --- a/packages/dev-utils/package.json +++ b/packages/dev-utils/package.json @@ -5,6 +5,7 @@ "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { + "build:watch": "tsc -w", "build": "tsc", "clean": "shx rm -rf lib", "lint": "tslint --project . 'src/**/*.ts'" diff --git a/packages/json-schemas/package.json b/packages/json-schemas/package.json index 4deba09bc..1e45183a4 100644 --- a/packages/json-schemas/package.json +++ b/packages/json-schemas/package.json @@ -5,6 +5,7 @@ "main": "lib/src/index.js", "types": "lib/src/index.d.ts", "scripts": { + "build:watch": "tsc -w", "lint": "tslint --project . 'src/**/*.ts' 'test/**/*.ts'", "test": "run-s clean build run_mocha", "test:circleci": "yarn test", diff --git a/packages/monorepo-scripts/package.json b/packages/monorepo-scripts/package.json index 1e177836a..850e71259 100644 --- a/packages/monorepo-scripts/package.json +++ b/packages/monorepo-scripts/package.json @@ -4,6 +4,7 @@ "private": true, "description": "Helper scripts for the monorepo", "scripts": { + "build:watch": "tsc -w", "deps_versions": "node ./lib/deps_versions.js", "lint": "tslint --project . 'src/**/*.ts'", "clean": "shx rm -rf lib", diff --git a/packages/subproviders/package.json b/packages/subproviders/package.json index 9381689b1..95df4d6cb 100644 --- a/packages/subproviders/package.json +++ b/packages/subproviders/package.json @@ -5,6 +5,7 @@ "types": "lib/src/index.d.ts", "license": "Apache-2.0", "scripts": { + "build:watch": "tsc -w", "clean": "shx rm -rf lib", "build": "tsc", "lint": "tslint --project . 'src/**/*.ts' 'test/**/*.ts'", diff --git a/packages/testnet-faucets/package.json b/packages/testnet-faucets/package.json index 3b42ebb3e..c92901d85 100644 --- a/packages/testnet-faucets/package.json +++ b/packages/testnet-faucets/package.json @@ -5,6 +5,7 @@ "description": "A faucet micro-service that dispenses test ERC20 tokens or Ether", "main": "server.js", "scripts": { + "build:watch": "tsc -w", "build": "node ../../node_modules/gulp/bin/gulp.js build", "dev": "node ../../node_modules/gulp/bin/gulp.js run", "start": "node ./bin/server.js", diff --git a/packages/tslint-config/package.json b/packages/tslint-config/package.json index f4497ff5d..08597a0ee 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'" diff --git a/packages/types/package.json b/packages/types/package.json index 1abcf79ad..0d6149ba1 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -5,6 +5,7 @@ "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { + "build:watch": "tsc -w", "build": "tsc", "clean": "shx rm -rf lib", "lint": "tslint --project . 'src/**/*.ts'" diff --git a/packages/utils/package.json b/packages/utils/package.json index db82f8040..65ee69805 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -5,6 +5,7 @@ "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { + "build:watch": "tsc -w", "build": "tsc", "clean": "shx rm -rf lib", "lint": "tslint --project . 'src/**/*.ts'" diff --git a/packages/web3-wrapper/package.json b/packages/web3-wrapper/package.json index ec9ff3bb4..29a46f1f3 100644 --- a/packages/web3-wrapper/package.json +++ b/packages/web3-wrapper/package.json @@ -5,6 +5,7 @@ "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { + "build:watch": "tsc -w", "build": "tsc", "clean": "shx rm -rf lib", "lint": "tslint --project . 'src/**/*.ts'" |