- Try avoiding npm error

master
Brett Zamir 2020-08-05 18:04:07 +08:00
parent 7910794f90
commit 0255938873
1 changed files with 2 additions and 1 deletions

View File

@ -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": {