Skip to content

Commit 483b8c4

Browse files
author
muzam
committed
compile artifacts before packing and generate typechains on postinstall.
1 parent 6345b64 commit 483b8c4

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
@@ -4,7 +4,8 @@
44
"description": "Smart contracts for vanilladefi.com",
55
"main": "./typechain/vanilla_v1.1/index.ts",
66
"scripts": {
7-
"postinstall": "npm run compile:sol & npm run generate:typechain-wo-test",
7+
"prepack": "npm run compile:sol",
8+
"postinstall": "npm run generate:typechain-wo-test",
89
"test": "npm run generate:test-types && npx hardhat test",
910
"format:js": "eslint --fix test/ utils/ hardhat/ deploy/",
1011
"format:sol": "prettier --write contracts/",

0 commit comments

Comments
 (0)