Run nsp on prepublish

Fix #683
Bump dependencies