Add a main script in package.json.