aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package.json4
-rw-r--r--src/0x.ts (renamed from src/0x.js.ts)0
-rw-r--r--test/0x.js_test.ts2
-rw-r--r--test/assert_test.ts2
-rw-r--r--test/exchange_wrapper_test.ts2
-rw-r--r--test/token_registry_wrapper_test.ts2
-rw-r--r--test/token_wrapper_test.ts2
-rw-r--r--test/utils/fill_scenarios.ts2
-rw-r--r--test/utils/order_factory.ts2
-rw-r--r--webpack.config.js4
10 files changed, 11 insertions, 11 deletions
diff --git a/package.json b/package.json
index 3a509f86d..f254a9c5b 100644
--- a/package.json
+++ b/package.json
@@ -9,8 +9,8 @@
"tokens",
"exchange"
],
- "main": "./lib/src/0x.js.js",
- "types": "./lib/src/0x.js.d.ts",
+ "main": "./lib/src/0x.js",
+ "types": "./lib/src/0x.d.ts",
"scripts": {
"prebuild": "npm run clean",
"build": "run-p build:*:prod",
diff --git a/src/0x.js.ts b/src/0x.ts
index f01c918d6..f01c918d6 100644
--- a/src/0x.js.ts
+++ b/src/0x.ts
diff --git a/test/0x.js_test.ts b/test/0x.js_test.ts
index 346ef69f8..f60bf01f8 100644
--- a/test/0x.js_test.ts
+++ b/test/0x.js_test.ts
@@ -4,7 +4,7 @@ import {chaiSetup} from './utils/chai_setup';
import 'mocha';
import * as BigNumber from 'bignumber.js';
import * as Sinon from 'sinon';
-import {ZeroEx} from '../src/0x.js';
+import {ZeroEx} from '../src/0x';
import {constants} from './utils/constants';
import {Order} from '../src/types';
import {ECSignature} from '../src/types';
diff --git a/test/assert_test.ts b/test/assert_test.ts
index 338027ad3..dd03f5b19 100644
--- a/test/assert_test.ts
+++ b/test/assert_test.ts
@@ -1,6 +1,6 @@
import * as chai from 'chai';
import 'mocha';
-import {ZeroEx} from '../src/0x.js';
+import {ZeroEx} from '../src/0x';
import {assert} from '../src/utils/assert';
import {web3Factory} from './utils/web3_factory';
diff --git a/test/exchange_wrapper_test.ts b/test/exchange_wrapper_test.ts
index 633fa3c5d..62b36fce4 100644
--- a/test/exchange_wrapper_test.ts
+++ b/test/exchange_wrapper_test.ts
@@ -6,7 +6,7 @@ import {chaiSetup} from './utils/chai_setup';
import ChaiBigNumber = require('chai-bignumber');
import promisify = require('es6-promisify');
import {web3Factory} from './utils/web3_factory';
-import {ZeroEx} from '../src/0x.js';
+import {ZeroEx} from '../src/0x';
import {BlockchainLifecycle} from './utils/blockchain_lifecycle';
import {
Token,
diff --git a/test/token_registry_wrapper_test.ts b/test/token_registry_wrapper_test.ts
index 33c4a8054..b12b92dc4 100644
--- a/test/token_registry_wrapper_test.ts
+++ b/test/token_registry_wrapper_test.ts
@@ -3,7 +3,7 @@ import 'mocha';
import * as chai from 'chai';
import {chaiSetup} from './utils/chai_setup';
import {web3Factory} from './utils/web3_factory';
-import {ZeroEx} from '../src/0x.js';
+import {ZeroEx} from '../src/0x';
import {BlockchainLifecycle} from './utils/blockchain_lifecycle';
import {SchemaValidator} from '../src/utils/schema_validator';
import {tokenSchema} from '../src/schemas/token_schema';
diff --git a/test/token_wrapper_test.ts b/test/token_wrapper_test.ts
index 243d918ed..18bbd8e43 100644
--- a/test/token_wrapper_test.ts
+++ b/test/token_wrapper_test.ts
@@ -5,7 +5,7 @@ import * as Web3 from 'web3';
import * as BigNumber from 'bignumber.js';
import promisify = require('es6-promisify');
import {web3Factory} from './utils/web3_factory';
-import {ZeroEx} from '../src/0x.js';
+import {ZeroEx} from '../src/0x';
import {ZeroExError, Token} from '../src/types';
import {BlockchainLifecycle} from './utils/blockchain_lifecycle';
diff --git a/test/utils/fill_scenarios.ts b/test/utils/fill_scenarios.ts
index 2860f1472..d1e5f2b18 100644
--- a/test/utils/fill_scenarios.ts
+++ b/test/utils/fill_scenarios.ts
@@ -1,5 +1,5 @@
import * as BigNumber from 'bignumber.js';
-import {ZeroEx} from '../../src/0x.js';
+import {ZeroEx} from '../../src/0x';
import {Token, SignedOrder} from '../../src/types';
import {orderFactory} from '../utils/order_factory';
import {constants} from './constants';
diff --git a/test/utils/order_factory.ts b/test/utils/order_factory.ts
index a1cc243c6..909a3c75e 100644
--- a/test/utils/order_factory.ts
+++ b/test/utils/order_factory.ts
@@ -1,7 +1,7 @@
import * as _ from 'lodash';
import * as BigNumber from 'bignumber.js';
import {SignedOrder} from '../../src/types';
-import {ZeroEx} from '../../src/0x.js';
+import {ZeroEx} from '../../src/0x';
export const orderFactory = {
async createSignedOrderAsync(
diff --git a/webpack.config.js b/webpack.config.js
index 03a7c6cac..c1f1a97df 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -7,10 +7,10 @@ const path = require('path');
const production = process.env.NODE_ENV === 'production';
let entry = {
- '0x': './src/0x.js.ts',
+ '0x': './src/0x.ts',
};
if (production) {
- entry = _.assign({}, entry, {'0x.min': './src/0x.js.ts'});
+ entry = _.assign({}, entry, {'0x.min': './src/0x.ts'});
}
module.exports = {