Skip to content

Commit

Permalink
Update hardhat config to TS.
Browse files Browse the repository at this point in the history
  • Loading branch information
johngrantuk committed Dec 13, 2022
1 parent 93788ac commit 7c28930
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hardhat.config.js → hardhat.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require('@nomiclabs/hardhat-ethers');
import '@nomiclabs/hardhat-ethers';

/**
* @type import('hardhat/config').HardhatUserConfig
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test": "TS_NODE_PROJECT='tsconfig.testing.json' nyc mocha -r ts-node/register test/*.spec.ts",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"lint": "eslint ./src ./test --ext .ts --max-warnings 0",
"node": "npx hardhat node --fork $(grep ALCHEMY_URL .env | cut -d '=' -f2) --fork-block-number 14828550"
"node": "npx hardhat node --tsconfig tsconfig.testing.json --fork $(grep ALCHEMY_URL .env | cut -d '=' -f2) --fork-block-number 14828550"
},
"husky": {
"hooks": {
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@
"src/pools/elementPool/ConvergentCurvePool.json",
"src/pools/linearPool/linearPoolAbi.json"
],
"files": ["hardhat.config.js"]
"files": ["hardhat.config.ts"]
}

0 comments on commit 7c28930

Please sign in to comment.