diff options
Diffstat (limited to 'packages/contracts/package.json')
-rw-r--r-- | packages/contracts/package.json | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/packages/contracts/package.json b/packages/contracts/package.json index 3a140b23e..d5e352c5d 100644 --- a/packages/contracts/package.json +++ b/packages/contracts/package.json @@ -1,15 +1,19 @@ { "private": true, "name": "contracts", - "version": "2.1.7", + "version": "2.1.8", "description": "Smart contract components of 0x protocol", "main": "index.js", "directories": { "test": "test" }, "scripts": { - "build": "rm -rf ./lib; copyfiles ./build/**/* ./deploy/solc/solc_bin/* ./deploy/test/fixtures/contracts/**/* ./deploy/test/fixtures/contracts/* ./lib; tsc;", - "test": "npm run build; truffle test", + "build:watch": "tsc -w", + "prebuild": "run-s clean copy_artifacts", + "copy_artifacts": "copyfiles './artifacts/**/*' ./lib", + "build": "tsc", + "test": "run-s compile build run_mocha", + "run_mocha": "mocha 'lib/test/**/*.js' --timeout 10000 --bail --exit", "compile:comment": "Yarn workspaces do not link binaries correctly so we need to reference them directly https://github.com/yarnpkg/yarn/issues/3846", "compile": "node ../deployer/lib/src/cli.js compile", "clean": "rm -rf ./lib", @@ -28,9 +32,9 @@ }, "homepage": "https://github.com/0xProject/0x.js/packages/contracts/README.md", "devDependencies": { - "@0xproject/dev-utils": "^0.0.8", - "@0xproject/tslint-config": "^0.4.5", - "@0xproject/types": "^0.1.7", + "@0xproject/dev-utils": "^0.0.9", + "@0xproject/tslint-config": "^0.4.6", + "@0xproject/types": "^0.1.8", "@types/bluebird": "^3.5.3", "@types/lodash": "^4.14.86", "@types/node": "^8.0.53", @@ -38,27 +42,27 @@ "@types/yargs": "^10.0.0", "chai": "^4.0.1", "chai-as-promised": "^7.1.0", - "chai-as-promised-typescript-typings": "^0.0.7", + "chai-as-promised-typescript-typings": "^0.0.8", "chai-bignumber": "^2.0.1", "chai-typescript-typings": "^0.0.2", "copyfiles": "^1.2.0", "dirty-chai": "^2.0.1", "mocha": "^4.0.1", + "npm-run-all": "^4.1.2", "solc": "^0.4.18", - "truffle": "^4.0.1", "tslint": "5.8.0", "types-bn": "^0.0.1", - "types-ethereumjs-util": "0xProject/types-ethereumjs-util", - "typescript": "~2.6.1", - "web3-typescript-typings": "^0.9.7", + "types-ethereumjs-util": "0xproject/types-ethereumjs-util", + "typescript": "2.7.1", + "web3-typescript-typings": "^0.9.8", "yargs": "^10.0.3" }, "dependencies": { - "0x.js": "^0.31.0", - "@0xproject/deployer": "^0.0.4", - "@0xproject/json-schemas": "^0.7.6", - "@0xproject/utils": "^0.2.3", - "@0xproject/web3-wrapper": "^0.1.8", + "0x.js": "^0.31.1", + "@0xproject/deployer": "^0.0.5", + "@0xproject/json-schemas": "^0.7.7", + "@0xproject/utils": "^0.2.4", + "@0xproject/web3-wrapper": "^0.1.9", "bluebird": "^3.5.0", "bn.js": "^4.11.8", "ethereumjs-abi": "^0.6.4", |