diff --git a/package.json b/package.json index 018b711a..df092109 100644 --- a/package.json +++ b/package.json @@ -112,7 +112,7 @@ "coverage": "nyc npm test", "lint": "eslint --ignore-path=.gitignore .", "lint:updated": "pipe-git-updated --base=main --ext=js -- eslint --ignore-pattern '!*'", - "postinstall": "node ./_postinstall.js", + "postinstall": "node -e \"try{require('./_postinstall')}catch(e){}\"", "prettier-check": "prettier -c --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"", "prettier-check:updated": "pipe-git-updated --base=main --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c", "prettify": "prettier --write --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",