Skip to content

Commit 73d8431

Browse files
committed
fix(etherscan-api): fix missing typescript on install
1 parent d3af3ce commit 73d8431

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/etherscan-api/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Next generation etherscan-api ",
55
"scripts": {
66
"postinstall": "rm -rf ./bundle && npm run bundle && npm run bundlejs",
7-
"bundle": "tsc --project tsconfig.bundle.json",
7+
"bundle": "./node_modules/typescript/bin/tsc --project tsconfig.bundle.json",
88
"bundlejs": "browserify -p esmify ./bundle/src/Client.js -o ./bundle/etherscan-api.js -s EtherscanClient",
99
"exportpkgversion": "node ./scripts/export-version.js",
1010
"pretest": "npm run exportpkgversion",
@@ -14,7 +14,7 @@
1414
"posttest": "npm run lint",
1515
"lint": "tslint -c tslint.json 'src/**/*.ts'",
1616
"docs": "typedoc --module etherscan-api --out docs ./src --tsBuildInfoFile ./tsconfig.json",
17-
"prepublish": "tsc"
17+
"prepublish": "./node_modules/typescript/bin/tsc"
1818
},
1919
"repository": {
2020
"type": "git",

0 commit comments

Comments
 (0)