support node 10 and tidy package.json