Update package.json for new CommonJS structure and add an .npmignore.