diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-12-19 10:22:54 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-12-19 10:22:54 +0800 |
commit | 768e1d541c445dd84395afbd0cb04a1163e3f1c7 (patch) | |
tree | d61ce3fe4bf4c1e2165acb326a28d8c4d4868828 /contracts/protocol | |
parent | a650d695cede55c61aeb3a24dade828f6cc57844 (diff) | |
download | dexon-0x-contracts-768e1d541c445dd84395afbd0cb04a1163e3f1c7.tar.gz dexon-0x-contracts-768e1d541c445dd84395afbd0cb04a1163e3f1c7.tar.zst dexon-0x-contracts-768e1d541c445dd84395afbd0cb04a1163e3f1c7.zip |
Make @0x/contracts-test-utils a dependency instead of a devDependency
Diffstat (limited to 'contracts/protocol')
-rw-r--r-- | contracts/protocol/package.json | 2 | ||||
-rw-r--r-- | contracts/protocol/src/index.ts | 1 | ||||
-rw-r--r-- | contracts/protocol/test/exchange/order_validator.ts | 5 |
3 files changed, 5 insertions, 3 deletions
diff --git a/contracts/protocol/package.json b/contracts/protocol/package.json index 838189371..122ce07c3 100644 --- a/contracts/protocol/package.json +++ b/contracts/protocol/package.json @@ -44,7 +44,6 @@ "homepage": "https://github.com/0xProject/0x-monorepo/contracts/protocol/README.md", "devDependencies": { "@0x/abi-gen": "^1.0.19", - "@0x/contracts-test-utils": "^1.0.2", "@0x/dev-utils": "^1.0.21", "@0x/sol-compiler": "^1.1.16", "@0x/sol-cov": "^2.1.16", @@ -75,6 +74,7 @@ "@0x/contracts-interfaces": "^1.0.2", "@0x/contracts-libs": "^1.0.2", "@0x/contracts-multisig": "^1.0.2", + "@0x/contracts-test-utils": "^1.0.2", "@0x/contracts-tokens": "^1.0.2", "@0x/contracts-utils": "^1.0.2", "@0x/order-utils": "^3.0.7", diff --git a/contracts/protocol/src/index.ts b/contracts/protocol/src/index.ts index d55f08ea2..ba813e7ca 100644 --- a/contracts/protocol/src/index.ts +++ b/contracts/protocol/src/index.ts @@ -1,2 +1,3 @@ export * from './artifacts'; export * from './wrappers'; +export * from '../test/utils'; diff --git a/contracts/protocol/test/exchange/order_validator.ts b/contracts/protocol/test/exchange/order_validator.ts index 39b173fdd..8f53426db 100644 --- a/contracts/protocol/test/exchange/order_validator.ts +++ b/contracts/protocol/test/exchange/order_validator.ts @@ -18,13 +18,14 @@ import * as _ from 'lodash'; import { artifacts, ERC20ProxyContract, + ERC20Wrapper, ERC721ProxyContract, + ERC721Wrapper, ExchangeContract, + ExchangeWrapper, OrderValidatorContract, } from '../../src'; -import { ERC20Wrapper, ERC721Wrapper, ExchangeWrapper } from '../utils'; - chaiSetup.configure(); const expect = chai.expect; const blockchainLifecycle = new BlockchainLifecycle(web3Wrapper); |