mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-09 10:11:21 +00:00
49 lines
1.5 KiB
JSON
49 lines
1.5 KiB
JSON
{
|
|
"homepage": "https://nodejs.org",
|
|
"version": "8.9.1",
|
|
"license": "MIT",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://nodejs.org/dist/v8.9.1/node-v8.9.1-win-x64.7z",
|
|
"hash": "ff28dd5ff5a09a904e364742b58011af33d0a3fe148831e55b2c60f1bc251569",
|
|
"extract_dir": "node-v8.9.1-win-x64"
|
|
},
|
|
"32bit": {
|
|
"url": "https://nodejs.org/dist/v8.9.1/node-v8.9.1-win-x86.7z",
|
|
"hash": "a30b6a56d424f8a34e65fe8f197a6db17dee6fa10ed50ffdf8490ca0787d995a",
|
|
"extract_dir": "node-v8.9.1-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"
|
|
}
|
|
}
|
|
}
|