aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-08-04 04:37:02 +0800
committerFabio Berger <me@fabioberger.com>2018-08-04 04:37:02 +0800
commit6df874687150be40d5e93d7d8c0e3e191ea08982 (patch)
treef5047055c96adae057af648a0e0fe5aaa0ba105c
parentc68e1839535e0eeb7c66e8712d1ce786d0f964df (diff)
downloaddexon-sol-tools-6df874687150be40d5e93d7d8c0e3e191ea08982.tar
dexon-sol-tools-6df874687150be40d5e93d7d8c0e3e191ea08982.tar.gz
dexon-sol-tools-6df874687150be40d5e93d7d8c0e3e191ea08982.tar.bz2
dexon-sol-tools-6df874687150be40d5e93d7d8c0e3e191ea08982.tar.lz
dexon-sol-tools-6df874687150be40d5e93d7d8c0e3e191ea08982.tar.xz
dexon-sol-tools-6df874687150be40d5e93d7d8c0e3e191ea08982.tar.zst
dexon-sol-tools-6df874687150be40d5e93d7d8c0e3e191ea08982.zip
Omit certain exports and re-org index.ts
-rw-r--r--packages/sol-cov/package.json3
-rw-r--r--packages/sol-cov/src/index.ts8
2 files changed, 7 insertions, 4 deletions
diff --git a/packages/sol-cov/package.json b/packages/sol-cov/package.json
index ad6a6a0a2..6021435d6 100644
--- a/packages/sol-cov/package.json
+++ b/packages/sol-cov/package.json
@@ -26,7 +26,8 @@
"config": {
"postpublish": {
"assets": [],
- "shouldPublishDocs": true
+ "shouldPublishDocs": true,
+ "omitExports": ["ProfilerSubprovider", "RevertTraceSubprovider"]
}
},
"repository": {
diff --git a/packages/sol-cov/src/index.ts b/packages/sol-cov/src/index.ts
index 35135c295..dd102a13b 100644
--- a/packages/sol-cov/src/index.ts
+++ b/packages/sol-cov/src/index.ts
@@ -1,10 +1,12 @@
export { CoverageSubprovider } from './coverage_subprovider';
-// HACK: ProfilerSubprovider is a hacky way to do profiling using coverage tools. Not production ready
-export { ProfilerSubprovider } from './profiler_subprovider';
-export { RevertTraceSubprovider } from './revert_trace_subprovider';
export { SolCompilerArtifactAdapter } from './artifact_adapters/sol_compiler_artifact_adapter';
export { TruffleArtifactAdapter } from './artifact_adapters/truffle_artifact_adapter';
export { AbstractArtifactAdapter } from './artifact_adapters/abstract_artifact_adapter';
+
+// HACK: ProfilerSubprovider is a hacky way to do profiling using coverage tools. Not production ready
+export { ProfilerSubprovider } from './profiler_subprovider';
+export { RevertTraceSubprovider } from './revert_trace_subprovider';
+
export {
ContractData,
TraceInfo,