paulmillr / noble-hashes

Audited & minimal JS implementation of hash functions, MACs and KDFs.
https://paulmillr.com/noble
MIT License
573 stars 46 forks source link

Add bench dependencies as devDependencies #14

Closed jacogr closed 2 years ago

paulmillr commented 2 years ago

The deps are in test/benchmark with their own NPM install - the reason for this is that I don't want our published package to depend on anything 3rd-party

jacogr commented 2 years ago

My bad. I just ran npm run bench and then manually installed each as they popped up.

I'm guessing a cd test/behncmark ; npm install ; npm run bench is then the correct approach from the root.

paulmillr commented 2 years ago

Yes; and we cannot do cd in script since it needs to be Windows-compliant.

Also cd/npm i only need to be executed once