diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-13 01:15:14 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-15 03:51:26 +0800 |
commit | 8cd2ba3ad637915ab335d87d530f754d104bbdd4 (patch) | |
tree | 7b10a27d3943dae81bed7e3e95bf6c77de99846c /packages/dev-utils/package.json | |
parent | dbad7d18691e787bfc1c8e63a0e712f652486865 (diff) | |
download | dexon-sol-tools-8cd2ba3ad637915ab335d87d530f754d104bbdd4.tar.gz dexon-sol-tools-8cd2ba3ad637915ab335d87d530f754d104bbdd4.tar.zst dexon-sol-tools-8cd2ba3ad637915ab335d87d530f754d104bbdd4.zip |
Add tests for dev-utils package
Diffstat (limited to 'packages/dev-utils/package.json')
-rw-r--r-- | packages/dev-utils/package.json | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/packages/dev-utils/package.json b/packages/dev-utils/package.json index aec7c9b4e..7c155423c 100644 --- a/packages/dev-utils/package.json +++ b/packages/dev-utils/package.json @@ -7,8 +7,11 @@ "scripts": { "build:watch": "tsc -w", "build": "tsc", + "test": "run-s clean build run_mocha", + "test:circleci": "yarn test", + "run_mocha": "mocha lib/test/**/*_test.js --bail --exit", "clean": "shx rm -rf lib", - "lint": "tslint --project . 'src/**/*.ts'" + "lint": "tslint --project . 'src/**/*.ts' 'test/**/*.ts'" }, "license": "Apache-2.0", "repository": { @@ -20,9 +23,14 @@ }, "homepage": "https://github.com/0xProject/0x.js/packages/dev-utils/README.md", "devDependencies": { + "@types/mocha": "^2.2.42", "@0xproject/tslint-config": "^0.4.9", "@0xproject/types": "^0.2.2", + "@0xproject/web3-wrapper": "^0.1.13", "@types/lodash": "^4.14.86", + "chai": "^4.0.1", + "chai-typescript-typings": "^0.0.3", + "mocha": "^4.0.1", "npm-run-all": "^4.1.2", "shx": "^0.2.2", "tslint": "5.8.0", |