mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 11:24:59 +08:00
DEV: Enforce using Yarn instead of NPM
This commit is contained in:
parent
afbdf9c2d2
commit
0fdb4d0e46
|
@ -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. ')\""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user