diff --git a/package.json b/package.json index ce7a4c9b7e42611104144e2fdec3426492234ac7..56b36a75bc836853a680a4f408dcf2da0a1772a5 100644 --- a/package.json +++ b/package.json @@ -145,7 +145,7 @@ "build-hot": "NODE_ENV=hot webpack --bail && NODE_ENV=hot webpack-dev-server --progress", "start": "yarn run build && lein ring server", "storybook": "start-storybook -p 9001", - "preinstall": "ps -fp $PPID | grep -q yarn || echo '\\033[0;33mSorry, npm is not supported. Please use Yarn (https://yarnpkg.com/).\\033[0m'", + "preinstall": "echo $npm_execpath | grep -q yarn || echo '\\033[0;33mSorry, npm is not supported. Please use Yarn (https://yarnpkg.com/).\\033[0m'", "test-jest": "jest" }, "jest": {