diff options
author | Brandon Millman <brandon@0xproject.com> | 2017-11-15 02:02:17 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-15 02:02:17 +0800 |
commit | 4d61d56639ad70b13245ca25047c6f299e746393 (patch) | |
tree | 339b5f43f2239fdd0c3d36c272d87fdd0fe88ffb /packages/assert | |
parent | 430154d5438225313372d950271bcb08f5332e19 (diff) | |
parent | bb6631c7c66f8d825b64e7d715fd798ddaa01ef8 (diff) | |
download | dexon-sol-tools-4d61d56639ad70b13245ca25047c6f299e746393.tar dexon-sol-tools-4d61d56639ad70b13245ca25047c6f299e746393.tar.gz dexon-sol-tools-4d61d56639ad70b13245ca25047c6f299e746393.tar.bz2 dexon-sol-tools-4d61d56639ad70b13245ca25047c6f299e746393.tar.lz dexon-sol-tools-4d61d56639ad70b13245ca25047c6f299e746393.tar.xz dexon-sol-tools-4d61d56639ad70b13245ca25047c6f299e746393.tar.zst dexon-sol-tools-4d61d56639ad70b13245ca25047c6f299e746393.zip |
Merge pull request #221 from 0xProject/feature/addJsonSchemas
Add json-schemas package to mono repo
Diffstat (limited to 'packages/assert')
-rw-r--r-- | packages/assert/package.json | 2 | ||||
-rw-r--r-- | packages/assert/src/index.ts | 5 | ||||
-rw-r--r-- | packages/assert/test/assert_test.ts | 2 | ||||
-rw-r--r-- | packages/assert/tslint.json | 2 |
4 files changed, 7 insertions, 4 deletions
diff --git a/packages/assert/package.json b/packages/assert/package.json index 18ad3d646..d82ce19e4 100644 --- a/packages/assert/package.json +++ b/packages/assert/package.json @@ -38,7 +38,7 @@ "typescript": "^2.4.2" }, "dependencies": { - "0x-json-schemas": "^0.6.5", + "@0xproject/json-schemas": "0.6.6", "bignumber.js": "~4.1.0", "ethereum-address": "^0.0.4", "lodash": "^4.17.4", diff --git a/packages/assert/src/index.ts b/packages/assert/src/index.ts index 5a9a7cc43..eb224223f 100644 --- a/packages/assert/src/index.ts +++ b/packages/assert/src/index.ts @@ -2,7 +2,10 @@ import BigNumber from 'bignumber.js'; import * as ethereum_address from 'ethereum-address'; import * as _ from 'lodash'; import * as validUrl from 'valid-url'; -import {SchemaValidator, Schema} from '0x-json-schemas'; +import { + SchemaValidator, + Schema, +} from '@0xproject/json-schemas'; const HEX_REGEX = /^0x[0-9A-F]*$/i; diff --git a/packages/assert/test/assert_test.ts b/packages/assert/test/assert_test.ts index 0e35f7f50..66fa4eb54 100644 --- a/packages/assert/test/assert_test.ts +++ b/packages/assert/test/assert_test.ts @@ -2,7 +2,7 @@ import 'mocha'; import * as dirtyChai from 'dirty-chai'; import * as chai from 'chai'; import {BigNumber} from 'bignumber.js'; -import {schemas} from '0x-json-schemas'; +import {schemas} from '@0xproject/json-schemas'; import {assert} from '../src/index'; chai.config.includeStack = true; diff --git a/packages/assert/tslint.json b/packages/assert/tslint.json index 5842a872a..a07795151 100644 --- a/packages/assert/tslint.json +++ b/packages/assert/tslint.json @@ -1,5 +1,5 @@ { "extends": [ - "tslint-config-0xproject" + "@0xproject/tslint-config" ] } |