From 025593887399fdab270d31cfa496f25e50cd34f2 Mon Sep 17 00:00:00 2001 From: Brett Zamir Date: Wed, 5 Aug 2020 18:04:07 +0800 Subject: [PATCH] - Try avoiding npm error --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 8c98fdb3..db3de27c 100644 --- a/package.json +++ b/package.json @@ -49,6 +49,7 @@ "copy": "copyfiles -f node_modules/load-stylesheets/dist/index-es.js src/external/load-stylesheets && copyfiles -f node_modules/jamilih/dist/jml-es.js editor/external/jamilih && copyfiles -f node_modules/query-result/esm/index.js editor/external/query-result/esm && copyfiles -f node_modules/qr-manipulation/dist/index-es.js editor/external/qr-manipulation/dist && copyfiles -f node_modules/stackblur-canvas/dist/stackblur-es.js editor/external/stackblur-canvas/dist && copyfiles -f node_modules/regenerator-runtime/runtime.js editor/external/regenerator-runtime && copyfiles -f \"node_modules/core-js-bundle//minified*\" editor/external/core-js-bundle && copyfiles -f \"node_modules/underscore/underscore-*\" editor/jspdf && copyfiles -f \"node_modules/deparam/dist/deparam.esm.js\" editor/external/deparam", "remark": "remark -q -f .", "build-html": "babel-node --plugins @babel/plugin-transform-modules-commonjs build/build-html.js", + "install-offline": "npm install --prefer-offline --no-audit", "eslint-fix": "eslint --fix --ext js,md,html src", "eslint": "eslint --ext js,html,md .", "rollup": "rollup -c", @@ -106,7 +107,7 @@ "build": "npm run build-html", "docs": "npm run build-docs", "licenseInfo.json": "npm run license-badges", - "package-lock.json": "npm install --prefer-offline --no-audit && npm run prepublishOnly" + "package-lock.json": "run-s install-offline prepublishOnly" }, "husky": { "hooks": {