diff --git a/package.json b/package.json index a949944c..d41b2b92 100644 --- a/package.json +++ b/package.json @@ -96,6 +96,18 @@ "html" ] }, + "run-if-changed": { + ".eslintignore": "npm run eslint", + ".eslintrc.js": "npm run eslint", + "src": "npm run prep", + ".babelrc.json": "npm run prep", + "rollup.config.js": "npm run prep", + "rollup-config.config.js": "npm run prep", + "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" + }, "husky": { "hooks": { "post-commit": "run-if-changed", @@ -104,9 +116,6 @@ "post-rewrite": "run-if-changed" } }, - "run-if-changed": { - "package-lock.json": "npm install --prefer-offline --no-audit && npm run prepublishOnly" - }, "repository": { "type": "git", "url": "git+https://github.com/SVG-Edit/svgedit.git"