Validate NPM dependencies before build/serve/test