mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-03 15:21:18 +00:00
Instead of downloading `npm` separate from `node`, download them together and remove the bundled `npmrc` file that makes global modules get installed in `%appdata%\Roaming\npm`.
21 lines
672 B
JSON
21 lines
672 B
JSON
{
|
|
"homepage": "http://nodejs.org",
|
|
"version": "0.10.31",
|
|
"license": "MIT",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "http://nodejs.org/dist/v0.10.31/x64/node-v0.10.31-x64.msi",
|
|
"hash": "85178339767794c06ce7f035a25f10542375049b8c1b8a8521b8c131b571adc6"
|
|
},
|
|
"32bit": {
|
|
"url": "http://nodejs.org/dist/v0.10.31/node-v0.10.31-x86.msi",
|
|
"hash": "6d07347395f30e70af7ad2a7cb333e497655dd6489fc8a7b4e0d903c4abf6b0b"
|
|
}
|
|
},
|
|
"env_add_path": "nodejs",
|
|
"post_install": "
|
|
# Remove npmrc that makes global modules get installed in AppData\\Roaming\\npm
|
|
rm $dir\\nodejs\\node_modules\\npm\\npmrc",
|
|
"checkver": "<p class=\"version\">Current Version: v([0-9\\.]+)</p>"
|
|
}
|