making npm available to scripts

fixes #88
exposes npm for use in phase scripts