Use prepare script (#1751)
Use prepare script (#1751)

Using `prepare` step to build ensures that dependency can be installed directly from git repository
https://docs.npmjs.com/misc/scripts#prepublish-and-prepare

`prepublishOnly` is run **after** `prepare` script so this should have no effect.

Co-authored-by: Jos de Jong <59a98748561b5cb9fc928afd2763d3591de2155c@gmail.com>

josdejong/mathjs,FSMaxB/mathjs,josdejong/mathjs,FSMaxB/mathjs,FSMaxB/mathjs,josdejong/mathjs,josdejong/mathjs,FSMaxB/mathjs,josdejong/mathjs,FSMaxB/mathjs