core: updating for npm, tweaked whitespace in package.json