index.js needs to be included in the 'files' section of package.json