diff --git a/package.json b/package.json index fc2ade80c73..ae98ed4f9dc 100644 --- a/package.json +++ b/package.json @@ -36,5 +36,8 @@ "qunit": "2.6", "route-recognizer": "^0.3.3", "sinon": "^6.3.5" + }, + "scripts": { + "preinstall": "node -e \"if(process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('NPM is not supported, please use Yarn instead. ')\"" } }