fix not saved package.json

fix not saved package.json