add package.json and index.js