mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-07 09:11:18 +00:00
49 lines
1.5 KiB
JSON
49 lines
1.5 KiB
JSON
{
|
|
"homepage": "https://nodejs.org",
|
|
"version": "11.6.0",
|
|
"license": "MIT",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://nodejs.org/dist/v11.6.0/node-v11.6.0-win-x64.7z",
|
|
"hash": "92b25af01f6b6b9a5fd12142779fb9b3b3974f4506e11dd4a6b0c2ca022db954",
|
|
"extract_dir": "node-v11.6.0-win-x64"
|
|
},
|
|
"32bit": {
|
|
"url": "https://nodejs.org/dist/v11.6.0/node-v11.6.0-win-x86.7z",
|
|
"hash": "d6670c8d26a78e3b834da6efacd37dceff841645c2d475c642b4ddad84291427",
|
|
"extract_dir": "node-v11.6.0-win-x86"
|
|
}
|
|
},
|
|
"persist": [
|
|
"bin",
|
|
"cache"
|
|
],
|
|
"env_add_path": [
|
|
".",
|
|
"bin"
|
|
],
|
|
"post_install": [
|
|
"# Set npm prefix to install modules inside bin and npm cache so they persist",
|
|
"Set-Content -Value \"prefix=$persist_dir\\bin`ncache=$persist_dir\\cache\" -Path \"$dir\\node_modules\\npm\\npmrc\""
|
|
],
|
|
"checkver": {
|
|
"url": "https://nodejs.org/dist/latest/",
|
|
"re": "node-v([\\d.]+)-x86.msi"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://nodejs.org/dist/v$version/node-v$version-win-x64.7z",
|
|
"extract_dir": "node-v$version-win-x64"
|
|
},
|
|
"32bit": {
|
|
"url": "https://nodejs.org/dist/v$version/node-v$version-win-x86.7z",
|
|
"extract_dir": "node-v$version-win-x86"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "$baseurl/SHASUMS256.txt.asc"
|
|
}
|
|
}
|
|
}
|