From 8cd2ba3ad637915ab335d87d530f754d104bbdd4 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Mon, 12 Feb 2018 18:15:14 +0100 Subject: Add tests for dev-utils package --- packages/dev-utils/package.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'packages/dev-utils/package.json') 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", -- cgit v1.2.3