- npm: More `run-if-chaanged` triggers
parent
5bcf6821e6
commit
ccb192bea6
15
package.json
15
package.json
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue