Skip to content

Commit eb70c40

Browse files
committed
fix: type in index.js
1 parent 4b5903a commit eb70c40

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"files": [
66
"dist",
77
"src",
8+
"types",
89
"truffle-config.js"
910
],
1011
"types": "dist/ts/src",
@@ -14,7 +15,7 @@
1415
"scripts": {
1516
"build:sol": "truffle build",
1617
"build:js:copy-src": "babel src -d dist --ignore src/**/*.spec.ts,src/**/*.test.ts -x .js,.ts,.tsx --copy-files",
17-
"build:js:copy-generated-types": "mkdir -p dist/ts/src/ethers-contracts && cp -r types/ethers-contracts/* dist/ts/src/ethers-contracts",
18+
"build:js:copy-generated-types": "cp -r types/ethers-contracts/* dist/ts/types/ethers-contracts",
1819
"build:js": "tsc --emitDeclarationOnly && npm run build:js:copy-src && npm run build:js:copy-generated-types",
1920
"build": "npm run build:sol && npm run build:js",
2021
"commit": "git-cz",

0 commit comments

Comments
 (0)