mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-11 03:01:22 +00:00
49 lines
1.6 KiB
JSON
49 lines
1.6 KiB
JSON
{
|
|
"homepage": "https://nodejs.org",
|
|
"version": "8.4.0",
|
|
"license": "MIT",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://nodejs.org/dist/v8.4.0/node-v8.4.0-win-x64.7z",
|
|
"hash": "09f46de9e0dcfc89a2ed9a67a33a40091125f00779198f4cc8df7876abf743f3",
|
|
"extract_dir": "node-v8.4.0-win-x64"
|
|
},
|
|
"32bit": {
|
|
"url": "https://nodejs.org/dist/v8.4.0/node-v8.4.0-win-x86.7z",
|
|
"hash": "cdf4bf3136e2d3a68186297869121a610e26028ade8d6b403f85ba0fe306a341",
|
|
"extract_dir": "node-v8.4.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/en/download/current/",
|
|
"re": "Current Version: <strong>v([\\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"
|
|
}
|
|
}
|
|
}
|