mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-15 13:11:22 +00:00
40 lines
1.3 KiB
JSON
40 lines
1.3 KiB
JSON
{
|
|
"homepage": "http://nodejs.org",
|
|
"version": "7.4.0",
|
|
"license": "MIT",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://nodejs.org/dist/v7.4.0/node-v7.4.0-x64.msi",
|
|
"hash": "ad9e1312d951f7f00e6dd003141b06230f0296ca81752208d89fb464cdfcfbb1"
|
|
},
|
|
"32bit": {
|
|
"url": "https://nodejs.org/dist/v7.4.0/node-v7.4.0-x86.msi",
|
|
"hash": "ae6751ece1f451bd0ca1c395fdddb33ab97e96dfc29e17eba12eb4fa92000f93"
|
|
}
|
|
},
|
|
"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
|
|
npm update -g",
|
|
"checkver": {
|
|
"url": "https://nodejs.org/en/download/current/",
|
|
"re": "Current version: <strong>v([\\d.]+)</strong>"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://nodejs.org/dist/v$version/node-v$version-x64.msi"
|
|
},
|
|
"32bit": {
|
|
"url": "https://nodejs.org/dist/v$version/node-v$version-x86.msi"
|
|
}
|
|
},
|
|
"hash": {
|
|
"mode": "extract",
|
|
"url": "https://nodejs.org/dist/v$version/SHASUMS256.txt.asc",
|
|
"find": "([a-z0-9]{64})\\s+(?:$basename)"
|
|
}
|
|
}
|
|
}
|