mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-17 14:11:19 +00:00
49 lines
1.5 KiB
JSON
49 lines
1.5 KiB
JSON
{
|
|
"homepage": "https://nodejs.org",
|
|
"version": "6.11.4",
|
|
"license": "MIT",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://nodejs.org/dist/v6.11.4/node-v6.11.4-win-x64.7z",
|
|
"hash": "81d3b153a4dcfe25df925d3f7a589121fce1f1523cf67aa8156115968938eb76",
|
|
"extract_dir": "node-v6.11.4-win-x64"
|
|
},
|
|
"32bit": {
|
|
"url": "https://nodejs.org/dist/v6.11.4/node-v6.11.4-win-x86.7z",
|
|
"hash": "2e4bbc044561c029c73ad07d8cf2b9455fdcf2892797dcb5757a8f8bca4d4f5e",
|
|
"extract_dir": "node-v6.11.4-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/en/download/",
|
|
"re": "LTS Version: <strong>([\\d.]+)</strong>"
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|