update package.json and add npmignore for publishing