Open aljones15 opened 2 years ago
Instead of having to pass in tons of CLI commands for templates such as
"test": "mocha tests/ --require esm --reporter ./node_modules/mocha-w3c-interop-reporter/index.js --reporter-options body=\"$PWD/body.hbs\",matrix=\"$PWD/matrix.hbs\",reportDir=\"$PWD/reports\", respec=\"$PWD/respecConfig.json\",title=\"Ed25519Signature 2020 Interoperability Report 1.0\",suiteLog='./suite.log' --timeout 15000"
you could pass in a single option for a package with templates:
"test": "mocha tests/ --require esm --reporter ./node_modules/mocha-w3c-interop-reporter/index.js --reporter-options template="@digitalbazaar/crypto-suite-report-template",reportDir=\"$PWD/reports\", respec=\"$PWD/respecConfig.json\", title=\"Ed25519Signature 2020 Interoperability Report 1.0\", suiteLog='./suite.log' --timeout 15000",
template="@digitalbazaar/crypto-suite-report-template" would cause the reporter to require or import that package drawing report templates from it.
template="@digitalbazaar/crypto-suite-report-template"
Instead of having to pass in tons of CLI commands for templates such as
you could pass in a single option for a package with templates:
template="@digitalbazaar/crypto-suite-report-template"
would cause the reporter to require or import that package drawing report templates from it.