Skip to content

Commit 7079b43

Browse files
committed
Export compiled artifacts for usage in other projects
We will export compiled contracts artifacts to use them in other projects.
1 parent fe048e3 commit 7079b43

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"test": "hardhat test",
2525
"test:system": "NODE_ENV=system-test hardhat test ./test/system/*.test.js",
2626
"prepublishOnly": "./scripts/prepare-artifacts.sh --network $npm_config_network",
27-
"postinstall": "tsc -p tsconfig.export.json"
27+
"postinstall": "tsc -p tsconfig.export.json && hardhat export-artifacts export/artifacts"
2828
},
2929
"devDependencies": {
3030
"@keep-network/hardhat-helpers": "^0.4.1-pre.2",

tsconfig.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
{
2-
"files": [
3-
"./hardhat.config.ts",
4-
],
2+
"files": ["./hardhat.config.ts"],
53
"include": ["./deploy"]
64
}

0 commit comments

Comments
 (0)