Fix npmignore and update build script

Signed-off-by: Snorre Magnus Davøen <snorre.davoen@nsd.uib.no>
2 jobs for v3.0.0-alpha.2 in 31 seconds
latest
Status Name Job ID Coverage
  Test
passed test-release #8774

00:00:19

 
  Publish
passed publish #8775

00:00:11