From 60835dc13d8354397f68607af3051a559d971645 Mon Sep 17 00:00:00 2001 From: Julian Gonggrijp Date: Sat, 24 Sep 2022 00:45:55 +0200 Subject: [PATCH] Run patch-package when building the docs Ref #2967 #2968 #2969 #2970 #2971 #2972 #2973 #2974 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bbc69cdf8..4dc0d2766 100644 --- a/package.json +++ b/package.json @@ -89,7 +89,7 @@ "build-esm": "npm run module-package-json && npm run minify-esm -- --source-map content=underscore-esm.js.map --source-map-url \" \" -o underscore-esm-min.js", "alias-bundle": "cpy --rename=underscore.js underscore-umd.js . && cpy --rename=underscore-min.js underscore-umd-min.js . && cpy --rename=underscore-min.js.map underscore-umd-min.js.map .", "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", + "doc": "patch-package && 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" },