github icon indicating copy to clipboard operation
github copied to clipboard

Added prepare script to package.json

Open dudaerich opened this issue 7 years ago • 1 comments

Since [email protected] the prepare script is called when the library is installed from github url. Aim of the script is to build distribution files.

See https://github.com/npm/npm/issues/3055

dudaerich avatar Jul 27 '17 17:07 dudaerich

Here is NPM's docs on it. This seems to work for me. It automatically builds the project when I run npm install, which is convenient. I'm still not 100% on how this impacts our build process though, since we support Node 4, which doesn't run this.

I think we should probably wait until we get our tests passing, then rerun our CI for this PR.

j-rewerts avatar Apr 07 '19 23:04 j-rewerts