- npm: More `run-if-chaanged` triggers

master
Brett Zamir 2020-08-05 17:36:33 +08:00
parent 5bcf6821e6
commit ccb192bea6
1 changed files with 12 additions and 3 deletions

View File

@ -96,6 +96,18 @@
"html" "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": { "husky": {
"hooks": { "hooks": {
"post-commit": "run-if-changed", "post-commit": "run-if-changed",
@ -104,9 +116,6 @@
"post-rewrite": "run-if-changed" "post-rewrite": "run-if-changed"
} }
}, },
"run-if-changed": {
"package-lock.json": "npm install --prefer-offline --no-audit && npm run prepublishOnly"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/SVG-Edit/svgedit.git" "url": "git+https://github.com/SVG-Edit/svgedit.git"