Skip to content
Snippets Groups Projects
Commit 899e7084 authored by Tom Robinson's avatar Tom Robinson
Browse files

Fix package.json preinstall hook for busybox/docker build

parent 1603690a
Branches
Tags
No related merge requests found
......@@ -133,6 +133,6 @@
"build-hot": "NODE_ENV=hot webpack && NODE_ENV=hot webpack-dev-server",
"start": "yarn run build && lein ring server",
"storybook": "start-storybook -p 9001",
"preinstall": "ps -a | grep -v grep | grep -q yarn || (echo '\\033[0;33mSorry, npm is not supported. Please use Yarn (https://yarnpkg.com/).\\033[0m'; exit 1)"
"preinstall": "ps -fp $PPID | grep -q yarn || echo '\\033[0;33mSorry, npm is not supported. Please use Yarn (https://yarnpkg.com/).\\033[0m'"
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment