Fix license. Remove unncesary index.js. Fix main field in package.json