add newline at end of package.json

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