Adds NPM package definition.