diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-08-09 09:28:15 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-09 09:28:15 +0800 |
commit | 53713188fee57391040c24cc627fdc5ab8982d2e (patch) | |
tree | 8bfcf59197506af235f772cb8fc78f6315932c4f /packages/utils/package.json | |
parent | 03fb73d1d2017b41551f47552a5ca06f0dfb0f08 (diff) | |
parent | c4c37cafa0d8a77bfdc01b1cc111ba0101e86c8b (diff) | |
download | dexon-sol-tools-53713188fee57391040c24cc627fdc5ab8982d2e.tar dexon-sol-tools-53713188fee57391040c24cc627fdc5ab8982d2e.tar.gz dexon-sol-tools-53713188fee57391040c24cc627fdc5ab8982d2e.tar.bz2 dexon-sol-tools-53713188fee57391040c24cc627fdc5ab8982d2e.tar.lz dexon-sol-tools-53713188fee57391040c24cc627fdc5ab8982d2e.tar.xz dexon-sol-tools-53713188fee57391040c24cc627fdc5ab8982d2e.tar.zst dexon-sol-tools-53713188fee57391040c24cc627fdc5ab8982d2e.zip |
Merge pull request #915 from 0xProject/feature/encode-decode-checks
Add strictArgumentEncodingCheck to BaseContract and use it in contract templates
Diffstat (limited to 'packages/utils/package.json')
-rw-r--r-- | packages/utils/package.json | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/packages/utils/package.json b/packages/utils/package.json index ee150cb0e..ee5fc264f 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -5,12 +5,17 @@ "node": ">=6.12" }, "description": "0x TS utils", - "main": "lib/index.js", - "types": "lib/index.d.ts", + "main": "lib/src/index.js", + "types": "lib/src/index.d.ts", "scripts": { "watch_without_deps": "tsc -w", "build": "tsc && copyfiles -u 2 './lib/monorepo_scripts/**/*' ./scripts", "clean": "shx rm -rf lib scripts", + "test": "yarn run_mocha", + "test:circleci": "yarn test:coverage", + "run_mocha": "mocha --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js --bail --exit", + "test:coverage": "nyc npm run test --all && yarn coverage:report:lcov", + "coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info", "lint": "tslint --project .", "manual:postpublish": "yarn build; node ./scripts/postpublish.js" }, @@ -27,12 +32,15 @@ "@0xproject/monorepo-scripts": "^1.0.4", "@0xproject/tslint-config": "^1.0.4", "@types/lodash": "4.14.104", + "@types/mocha": "^2.2.42", "copyfiles": "^1.2.0", "make-promises-safe": "^1.1.0", "npm-run-all": "^4.1.2", "shx": "^0.2.2", "tslint": "5.11.0", - "typescript": "2.9.2" + "typescript": "2.9.2", + "chai": "^4.0.1", + "mocha": "^4.0.1" }, "dependencies": { "@0xproject/types": "^1.0.1-rc.3", |