adding extra info to package.json and some fix into main.js