diff --git a/lib/octicons_react/.npmignore b/lib/octicons_react/.npmignore index c87675509..be73bc345 100644 --- a/lib/octicons_react/.npmignore +++ b/lib/octicons_react/.npmignore @@ -5,6 +5,5 @@ .eslint* .gitignore .next -pages script src diff --git a/lib/octicons_react/package.json b/lib/octicons_react/package.json index 557e389d6..1147c64b9 100644 --- a/lib/octicons_react/package.json +++ b/lib/octicons_react/package.json @@ -13,11 +13,10 @@ "test": "jest", "start": "NODE_ENV=production next", "lint": "eslint src script", - "prebuild": "script/build.js", - "build": "npm -s run rollup", - "preversion": "npm -s run build", - "publish": "../../script/notify success", + "prepare": "script/build.js && npm -s run rollup", "prepublishOnly": "../../script/notify pending", + "preversion": "npm -s run prepare", + "publish": "../../script/notify success", "rollup": "rollup -c" }, "keywords": [