mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-14 12:41:21 +00:00
49 lines
1.5 KiB
JSON
49 lines
1.5 KiB
JSON
{
|
|
"homepage": "http://nodejs.org",
|
|
"version": "6.11.0",
|
|
"license": "MIT",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://nodejs.org/dist/v6.11.0/node-v6.11.0-win-x64.7z",
|
|
"hash": "335f5918cbebaf5a819fe575eee0cb1646625a09709416bc293e837b660d1800",
|
|
"extract_dir": "node-v6.11.0-win-x64"
|
|
},
|
|
"32bit": {
|
|
"url": "https://nodejs.org/dist/v6.11.0/node-v6.11.0-win-x86.7z",
|
|
"hash": "9bed6a3ce1fba503e54ef8f49a109b515f2f872037304edcc4c04eda1fff215b",
|
|
"extract_dir": "node-v6.11.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/",
|
|
"re": "LTS 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"
|
|
}
|
|
}
|
|
}
|