Skip to content

Commit 2edcdc1

Browse files
authored
Hostfix for broken builds
patch-package is a dev dependency and should not be required by users of underscore.js This hotfix removes the postinstall script which is causing multiple build failures across the ecosystem.
1 parent 66ee70d commit 2edcdc1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@
9191
"build": "npm run bundle && npm run build-umd && npm run build-esm && npm run alias-bundle",
9292
"doc": "docco underscore-esm.js && docco modules/*.js -c docco.css -t docs/linked-esm.jst",
9393
"weight": "npm run bundle && npm run minify-umd | gzip-size | pretty-bytes",
94-
"prepublishOnly": "npm run build && npm run doc",
95-
"postinstall": "patch-package"
94+
"prepublishOnly": "npm run build && npm run doc"
9695
},
9796
"files": [
9897
"underscore-esm.js",

0 commit comments

Comments
 (0)