Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write",
"test": "jest",
"test:watch": "jest --watch",
"build": "rimraf dist && tsc --project .",
"build": "rimraf dist && tsc --project tsconfig.build.json",
"build:watch": "yarn build --watch",
"build:link": "yarn build && cd dist && yarn link && rm -rf node_modules && cd ..",
"doc": "typedoc && touch docs/.nojekyll"
Expand Down
31 changes: 0 additions & 31 deletions src/dependencies.d.ts

This file was deleted.

11 changes: 11 additions & 0 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"declaration": true,
"declarationDir": "./dist",
"outDir": "./dist",
"rootDir": "./src"
},
"include": ["./src/**/*.ts"],
"exclude": ["**/*.test.ts"]
}
14 changes: 6 additions & 8 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
{
"compilerOptions": {
"declaration": true,
"declarationDir": "dist",
"baseUrl": ".",
"esModuleInterop": true,
"inlineSources": true,
"module": "commonjs",
"moduleResolution": "node",
"outDir": "dist",
"rootDir": "./src",
"paths": {
"*": ["./types/*"]
},
"sourceMap": true,
"inlineSources": true,
"strict": true,
"target": "es6"
},
"include": ["src/**/*.ts"],
"exclude": ["**/*.test.ts"]
}
}
1 change: 1 addition & 0 deletions types/@metamask/contract-metadata.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module '@metamask/contract-metadata';
1 change: 1 addition & 0 deletions types/@metamask/metamask-eth-abis.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module '@metamask/metamask-eth-abis';
1 change: 1 addition & 0 deletions types/eth-ens-namehash.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module 'eth-ens-namehash';
1 change: 1 addition & 0 deletions types/eth-json-rpc-infura/src/createProvider.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module 'eth-json-rpc-infura/src/createProvider';
1 change: 1 addition & 0 deletions types/eth-keyring-controller.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module 'eth-keyring-controller';
1 change: 1 addition & 0 deletions types/eth-phishing-detect/src/config.json.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module 'eth-phishing-detect/src/config.json';
1 change: 1 addition & 0 deletions types/eth-phishing-detect/src/detector.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module 'eth-phishing-detect/src/detector';
1 change: 1 addition & 0 deletions types/eth-query.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module 'eth-query';
1 change: 1 addition & 0 deletions types/ethjs-provider-http.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module 'ethjs-provider-http';
1 change: 1 addition & 0 deletions types/ethjs-unit.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module 'ethjs-unit';
1 change: 1 addition & 0 deletions types/isomorphic-fetch.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module 'isomorphic-fetch';
1 change: 1 addition & 0 deletions types/single-call-balance-checker-abi.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module 'single-call-balance-checker-abi';
1 change: 1 addition & 0 deletions types/web3-provider-engine.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module 'web3-provider-engine';
1 change: 1 addition & 0 deletions types/web3-provider-engine/subproviders/provider.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module 'web3-provider-engine/subproviders/provider';
1 change: 1 addition & 0 deletions types/web3-provider-engine/zero.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module 'web3-provider-engine/zero';