niksy / node-stdlib-browser

Node standard library for browser.
MIT License
189 stars 13 forks source link

Rename build script to prepare #29

Closed steelbrain closed 1 year ago

steelbrain commented 1 year ago

Modern NPM runs prepare script automatically after install and it's recommended to put your build logic in there

It also has the added benefit of being triggered before publish, making sure we don't ever publish stale builds.

See https://docs.npmjs.com/cli/v10/using-npm/scripts#life-cycle-scripts

steelbrain commented 1 year ago

Opened this in the wrong repository. Apologies. Not enough coffee :)