commit
3819030a40
@ -14,7 +14,7 @@
|
||||
"build:bundle": "webpack",
|
||||
"build:commonjs": "tsc; copyfiles -u 2 ./src/artifacts/*.json ../0x.js/lib/src/artifacts;",
|
||||
"build": "npm run clean && run-p build:*",
|
||||
"lint": "tslint src/ts/**/*",
|
||||
"lint": "tslint src/**/*.ts",
|
||||
"test": "run-s clean build:commonjs && mocha lib/test/**/*_test.js",
|
||||
"test:coverage": "nyc npm run test --all",
|
||||
"docs:json": "typedoc --json docs/index.json .",
|
||||
|
@ -3,7 +3,7 @@ import {Web3Wrapper} from '../web3_wrapper';
|
||||
import {ECSignature, ZeroExError, ExchangeContract} from '../types';
|
||||
import {assert} from '../utils/assert';
|
||||
import {ContractWrapper} from './contract_wrapper';
|
||||
import * as ExchangeArtifacts from '../../artifacts/Exchange.json';
|
||||
import * as ExchangeArtifacts from '../artifacts/Exchange.json';
|
||||
import {ECSignatureSchema} from '../schemas/ec_signature_schema';
|
||||
|
||||
export class ExchangeWrapper extends ContractWrapper {
|
0
src/ts/globals.d.ts → src/globals.d.ts
vendored
0
src/ts/globals.d.ts → src/globals.d.ts
vendored
@ -3,8 +3,8 @@ import * as chai from 'chai';
|
||||
import 'mocha';
|
||||
import * as BigNumber from 'bignumber.js';
|
||||
import ChaiBigNumber = require('chai-bignumber');
|
||||
import {ZeroEx} from '../src/ts/0x.js';
|
||||
import {constants} from '../src/ts/utils/constants';
|
||||
import {ZeroEx} from '../src/0x.js';
|
||||
import {constants} from '../src/utils/constants';
|
||||
|
||||
// Use BigNumber chai add-on
|
||||
chai.use(ChaiBigNumber());
|
||||
|
@ -3,9 +3,9 @@ import * as chai from 'chai';
|
||||
import chaiAsPromised = require('chai-as-promised');
|
||||
import * as Web3 from 'web3';
|
||||
import {web3Factory} from './utils/web3_factory';
|
||||
import {ExchangeWrapper} from '../src/ts/contract_wrappers/exchange_wrapper';
|
||||
import {ExchangeWrapper} from '../src/contract_wrappers/exchange_wrapper';
|
||||
import {BlockchainLifecycle} from './utils/blockchain_lifecycle';
|
||||
import {Web3Wrapper} from './../src/ts/web3_wrapper';
|
||||
import {Web3Wrapper} from './../src/web3_wrapper';
|
||||
|
||||
const expect = chai.expect;
|
||||
chai.use(chaiAsPromised);
|
||||
|
Loading…
x
Reference in New Issue
Block a user