sanathkr / go-npm

Distribute and install Go binaries via NPM
Apache License 2.0
171 stars 56 forks source link

Fix `postinstall` part in README.md #5

Closed littldr closed 2 years ago

littldr commented 6 years ago

As the npm documentation (https://docs.npmjs.com/misc/scripts) says: postinstall and preuninstall belongs under scripts. I've updated the README according to this.

It took me some minutes to check that this won't work otherwise.

maple-leaf commented 5 years ago

I was fooled by document, after some struggling then I realize those two hooks is incorrect... hope this being merged quickly