Use npm instead of spawn

Fixes #27