mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-15 05:01:19 +00:00
49 lines
1.6 KiB
JSON
49 lines
1.6 KiB
JSON
{
|
|
"homepage": "http://nodejs.org",
|
|
"version": "8.1.2",
|
|
"license": "MIT",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://nodejs.org/dist/v8.1.2/node-v8.1.2-win-x64.7z",
|
|
"hash": "dcd11d9d7e3c604bad4acc29e40143aa27ef33d957d41bd088545cc0092c9cc1",
|
|
"extract_dir": "node-v8.1.2-win-x64"
|
|
},
|
|
"32bit": {
|
|
"url": "https://nodejs.org/dist/v8.1.2/node-v8.1.2-win-x86.7z",
|
|
"hash": "7e20612702d1a45eee9097e0e51858f3c77c31654f42192561c391fa3f744157",
|
|
"extract_dir": "node-v8.1.2-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"
|
|
}
|
|
}
|
|
}
|