Add npmignores and update 'main' in package.json