HTTPArchive / custom-metrics

Custom metrics to use with WebPageTest agents
Apache License 2.0
19 stars 22 forks source link

Update `fugu-apis.js` #47

Closed tomayac closed 2 years ago

tomayac commented 2 years ago

I have a generator script over in the old legacy repo: https://github.com/HTTPArchive/legacy.httparchive.org/blob/master/bin/create-fugu.js. For now, I have just copied its output manually over here. Would it be fine for me to add the generator script to the present repo?

rviscomi commented 2 years ago

Yeah it'd be fine to migrate that script over here.

tunetheweb commented 2 years ago

Would it be fine for me to add the generator script to the present repo?

Think so but not into the dist folder as that’s automatically copied to WPT agents and run. FYI @pmeenan

tomayac commented 2 years ago

Added the script. If more metrics need a generator script, we could generalize the npm prepare script. For now, it just executes my script ./bin/create-fugu-apis.js.

tomayac commented 2 years ago

Made the linter happy 😃.