add newline at end of package.json

user core `os` module to ensure cross-platform newlinage.