fix: fail gracefully if postinstall fails

This commit is contained in:
Remy Sharp
2018-01-05 12:44:01 +00:00
parent 2582d960be
commit 64a82ff81a

View File

@@ -38,7 +38,7 @@
"web": "node web",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"prepush": "npm run lint",
"postinstall": "node -e \"console.log('\\u001b[32mLove nodemon? You can now support the project via the open collective:\\u001b[22m\\u001b[39m\\n > \\u001b[96m\\u001b[1mhttps://opencollective.com/nodemon/donate\\u001b[0m\\n')\""
"postinstall": "node -e \"console.log('\\u001b[32mLove nodemon? You can now support the project via the open collective:\\u001b[22m\\u001b[39m\\n > \\u001b[96m\\u001b[1mhttps://opencollective.com/nodemon/donate\\u001b[0m\\n')\" || exit 0"
},
"devDependencies": {
"@commitlint/cli": "^3.1.3",