diff --git a/packages/deployer/src/cli.ts b/packages/deployer/src/cli.ts index 53ae3bcfa0..decb37fdcf 100644 --- a/packages/deployer/src/cli.ts +++ b/packages/deployer/src/cli.ts @@ -5,8 +5,8 @@ import * as path from 'path'; import * as Web3 from 'web3'; import * as yargs from 'yargs'; -import { commands } from './src/commands'; -import { CliOptions, CompilerOptions, DeployerOptions } from './src/utils/types'; +import { commands } from './commands'; +import { CliOptions, CompilerOptions, DeployerOptions } from './utils/types'; const DEFAULT_OPTIMIZER_ENABLED = false; const DEFAULT_CONTRACTS_DIR = path.resolve('contracts'); diff --git a/packages/deployer/src/src/commands.ts b/packages/deployer/src/commands.ts similarity index 93% rename from packages/deployer/src/src/commands.ts rename to packages/deployer/src/commands.ts index b87b9e632e..2acef8e8f4 100644 --- a/packages/deployer/src/src/commands.ts +++ b/packages/deployer/src/commands.ts @@ -1,4 +1,4 @@ -import { migrator } from './../migrations/migrate'; +import { migrator } from './migrations/migrate'; import { Compiler } from './compiler'; import { Deployer } from './deployer'; import { CompilerOptions, DeployerOptions } from './utils/types'; diff --git a/packages/deployer/src/src/compiler.ts b/packages/deployer/src/compiler.ts similarity index 98% rename from packages/deployer/src/src/compiler.ts rename to packages/deployer/src/compiler.ts index dbcaed7078..63db6c865a 100644 --- a/packages/deployer/src/src/compiler.ts +++ b/packages/deployer/src/compiler.ts @@ -4,7 +4,7 @@ import * as path from 'path'; import solc = require('solc'); import * as Web3 from 'web3'; -import { binPaths } from './../solc/bin_paths'; +import { binPaths } from './solc/bin_paths'; import { fsWrapper } from './utils/fs_wrapper'; import { CompilerOptions, @@ -166,7 +166,7 @@ export class Compiler { }; const solcVersion = Compiler._parseSolidityVersion(source); const fullSolcVersion = binPaths[solcVersion]; - const solcBinPath = `../solc/solc_bin/${fullSolcVersion}`; + const solcBinPath = `./solc/solc_bin/${fullSolcVersion}`; const solcBin = require(solcBinPath); const solcInstance = solc.setupMethods(solcBin); diff --git a/packages/deployer/src/src/deployer.ts b/packages/deployer/src/deployer.ts similarity index 100% rename from packages/deployer/src/src/deployer.ts rename to packages/deployer/src/deployer.ts diff --git a/packages/deployer/src/migrations/config/token_info.ts b/packages/deployer/src/migrations/config/token_info.ts index ec0ed3c0ef..7e822fc3b8 100644 --- a/packages/deployer/src/migrations/config/token_info.ts +++ b/packages/deployer/src/migrations/config/token_info.ts @@ -1,4 +1,4 @@ -import { constants } from '../../src/utils/constants'; +import { constants } from '../../utils/constants'; import { Token } from '../../types'; export const tokenInfo: Token[] = [ diff --git a/packages/deployer/src/migrations/migrate.ts b/packages/deployer/src/migrations/migrate.ts index 3efd1f9a6e..393806b451 100644 --- a/packages/deployer/src/migrations/migrate.ts +++ b/packages/deployer/src/migrations/migrate.ts @@ -2,8 +2,8 @@ import { BigNumber } from '@0xproject/utils'; import { Web3Wrapper } from '@0xproject/web3-wrapper'; import * as _ from 'lodash'; -import { Deployer } from './../src/deployer'; -import { constants } from './../src/utils/constants'; +import { Deployer } from '../deployer'; +import { constants } from '../utils/constants'; import { tokenInfo } from './config/token_info'; export const migrator = { diff --git a/packages/deployer/src/test/deploy_test.ts b/packages/deployer/src/test/deploy_test.ts index 51dbf0e5b2..e15985e111 100644 --- a/packages/deployer/src/test/deploy_test.ts +++ b/packages/deployer/src/test/deploy_test.ts @@ -1,10 +1,10 @@ import * as chai from 'chai'; import 'mocha'; -import { Compiler } from './../src/compiler'; -import { Deployer } from './../src/deployer'; -import { fsWrapper } from './../src/utils/fs_wrapper'; -import { CompilerOptions, ContractArtifact, ContractData, DoneCallback } from './../src/utils/types'; +import { Compiler } from '../compiler'; +import { Deployer } from '../deployer'; +import { fsWrapper } from '../utils/fs_wrapper'; +import { CompilerOptions, ContractArtifact, ContractData, DoneCallback } from '../utils/types'; import { constructor_args, exchange_binary } from './fixtures/exchange_bin'; import { constants } from './util/constants'; diff --git a/packages/deployer/src/src/utils/constants.ts b/packages/deployer/src/utils/constants.ts similarity index 100% rename from packages/deployer/src/src/utils/constants.ts rename to packages/deployer/src/utils/constants.ts diff --git a/packages/deployer/src/src/utils/contract.ts b/packages/deployer/src/utils/contract.ts similarity index 100% rename from packages/deployer/src/src/utils/contract.ts rename to packages/deployer/src/utils/contract.ts diff --git a/packages/deployer/src/src/utils/encoder.ts b/packages/deployer/src/utils/encoder.ts similarity index 100% rename from packages/deployer/src/src/utils/encoder.ts rename to packages/deployer/src/utils/encoder.ts diff --git a/packages/deployer/src/src/utils/fs_wrapper.ts b/packages/deployer/src/utils/fs_wrapper.ts similarity index 100% rename from packages/deployer/src/src/utils/fs_wrapper.ts rename to packages/deployer/src/utils/fs_wrapper.ts diff --git a/packages/deployer/src/src/utils/types.ts b/packages/deployer/src/utils/types.ts similarity index 100% rename from packages/deployer/src/src/utils/types.ts rename to packages/deployer/src/utils/types.ts diff --git a/packages/deployer/src/src/utils/utils.ts b/packages/deployer/src/utils/utils.ts similarity index 100% rename from packages/deployer/src/src/utils/utils.ts rename to packages/deployer/src/utils/utils.ts