You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I help maintain solidity-coverage and we are contemplating a substantial rewrite over the next couple of months. I'd like to make the new version available as a buidler plugin (multi-platform accessibility is a long-standing issue at SC), but I'd also like to export its sub-components in an index.js so people can write:
constcoverage=require("solidity-coverage");
and do whatever they want with those pieces. Additionally it might be easiest if we didn't have to maintain different modules for each development platform we integrate with.
Buidler loads plugins from their package main
"main": "dist/src/index.js",
Would you be open to allowing plugins to declare something like a 'buidler' field in their package.json as an alternative to main?
The text was updated successfully, but these errors were encountered:
I'm glad to see that solidity-coverage is getting updated! Thanks for working on it :)
This is a very interesting idea and should be fairly easy to implement. I will do some research about using custom entries on package.json, but on a first glance, it doesn't seem problematic.
I help maintain solidity-coverage and we are contemplating a substantial rewrite over the next couple of months. I'd like to make the new version available as a buidler plugin (multi-platform accessibility is a long-standing issue at SC), but I'd also like to export its sub-components in an
index.js
so people can write:and do whatever they want with those pieces. Additionally it might be easiest if we didn't have to maintain different modules for each development platform we integrate with.
Buidler loads plugins from their package
main
Would you be open to allowing plugins to declare something like a 'buidler' field in their package.json as an alternative to
main
?The text was updated successfully, but these errors were encountered: