Skip to content

Commit 22e80cb

Browse files
committed
chore: improve build
1 parent 73d8431 commit 22e80cb

File tree

6 files changed

+12
-8
lines changed

6 files changed

+12
-8
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,8 @@
2929
"commitizen": {
3030
"path": "./node_modules/cz-conventional-changelog"
3131
}
32+
},
33+
"dependencies": {
34+
"typescript": "^3.6.3"
3235
}
3336
}

packages/etherscan-api/package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
{
22
"name": "etherscan-api",
3-
"version": "100.0.0",
3+
"version": "100.0.1",
44
"description": "Next generation etherscan-api ",
55
"scripts": {
66
"postinstall": "rm -rf ./bundle && npm run bundle && npm run bundlejs",
7-
"bundle": "./node_modules/typescript/bin/tsc --project tsconfig.bundle.json",
8-
"bundlejs": "browserify -p esmify ./bundle/src/Client.js -o ./bundle/etherscan-api.js -s EtherscanClient",
7+
"bundle": "npm run tsc -- --project tsconfig.bundle.json",
8+
"bundlejs": "./node_modules/browserify/bin/cmd.js -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",
1111
"preecoverage": "npm run exportpkgversion",
1212
"test": "ava-ts test/ -v",
1313
"coverage": "nyc ava-ts test/ -v",
1414
"posttest": "npm run lint",
15+
"tsc": "./node_modules/typescript/bin/tsc",
1516
"lint": "tslint -c tslint.json 'src/**/*.ts'",
1617
"docs": "typedoc --module etherscan-api --out docs ./src --tsBuildInfoFile ./tsconfig.json",
17-
"prepublish": "./node_modules/typescript/bin/tsc"
18+
"prepublish": "tsc"
1819
},
1920
"repository": {
2021
"type": "git",

packages/etherscan-api/src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION: string = '100.0.0'
1+
export const VERSION: string = '100.0.1'

packages/integration-test-browser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"author": "",
1111
"license": "ISC",
1212
"dependencies": {
13-
"etherscan-api": "100.0.0"
13+
"etherscan-api": "100.0.1"
1414
},
1515
"devDependencies": {
1616
"chai": "^4.2.0",

packages/integration-test-node/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"author": "",
1010
"license": "ISC",
1111
"dependencies": {
12-
"etherscan-api": "100.0.0"
12+
"etherscan-api": "100.0.1"
1313
},
1414
"devDependencies": {
1515
"mocha": "^6.2.0"

packages/test-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"dependencies": {
1313
"core-js": "^2.6.5",
14-
"etherscan-api": "100.0.0",
14+
"etherscan-api": "100.0.1",
1515
"prismjs": "^1.17.1",
1616
"register-service-worker": "^1.6.2",
1717
"vue": "^2.6.10",

0 commit comments

Comments
 (0)