Add parsing of npm package descriptors into separate name/version fields
so that the generated script may write out the npm dependency correctly.