DEV: Enforce using Yarn instead of NPM

This commit is contained in:
Penar Musaraj 2018-11-05 15:10:27 -05:00
parent afbdf9c2d2
commit 0fdb4d0e46

View File

@ -36,5 +36,8 @@
"qunit": "2.6", "qunit": "2.6",
"route-recognizer": "^0.3.3", "route-recognizer": "^0.3.3",
"sinon": "^6.3.5" "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. ')\""
} }
} }