Skip to content

Commit

Permalink
Hostfix for broken builds
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
paulsmithkc committed Sep 23, 2022
1 parent 66ee70d commit 2edcdc1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,7 @@
"build": "npm run bundle && npm run build-umd && npm run build-esm && npm run alias-bundle",
"doc": "docco underscore-esm.js && docco modules/*.js -c docco.css -t docs/linked-esm.jst",
"weight": "npm run bundle && npm run minify-umd | gzip-size | pretty-bytes",
"prepublishOnly": "npm run build && npm run doc",
"postinstall": "patch-package"
"prepublishOnly": "npm run build && npm run doc"
},
"files": [
"underscore-esm.js",
Expand Down

0 comments on commit 2edcdc1

Please sign in to comment.