Open apbendi opened 1 year ago
You don't necessarily need to publish an NPM package for use with hardhat, e.g. forge-std is not published in npm but is still often used with hardhat. Adding a package.json
file should be sufficient—this FV repo already has one but you'll need to change the files
key to look like this.
Then for the user to install it they specify the github URL in their package.json
, here's an example pointing to a commit but you probably can point to a tag also.
Installing from npm is better devex but just sharing as a simpler option that also works
This would be primarily for those using FV with the hardhat developer framework. We'll want to include any of the latest best practices, such as typescript interface generation, etc...