From 0fdb4d0e46e8a9f0bfae9368546c99b8030b5d48 Mon Sep 17 00:00:00 2001 From: Penar Musaraj Date: Mon, 5 Nov 2018 15:10:27 -0500 Subject: [PATCH] DEV: Enforce using Yarn instead of NPM --- package.json | 3 +++ 1 file changed, 3 insertions(+) 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. ')\"" } }