mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-09 10:11:21 +00:00
46 lines
1.4 KiB
JSON
46 lines
1.4 KiB
JSON
{
|
|
"homepage": "http://nodejs.org",
|
|
"version": "6.10.2",
|
|
"license": "MIT",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://nodejs.org/dist/v6.10.2/node-v6.10.2-x64.msi",
|
|
"hash": "4d0a8b82649dc38f606b400006a2ab2d3585b65c44b4f5b71621444b3c3f7754"
|
|
},
|
|
"32bit": {
|
|
"url": "https://nodejs.org/dist/v6.10.2/node-v6.10.2-x86.msi",
|
|
"hash": "bc1febcfd2e8fbaf6bdcd06c1eeee5d33ae61ae37f74e84392ea3b46da5ea550"
|
|
}
|
|
},
|
|
"extract_dir": "nodejs",
|
|
"persist": [
|
|
"bin"
|
|
],
|
|
"env_add_path": [
|
|
".",
|
|
"bin"
|
|
],
|
|
"post_install": "
|
|
# Set npm prefix to install modules inside bin
|
|
Set-Content -Value \"prefix=$dir\\bin\" -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-x64.msi"
|
|
},
|
|
"32bit": {
|
|
"url": "https://nodejs.org/dist/v$version/node-v$version-x86.msi"
|
|
}
|
|
},
|
|
"hash": {
|
|
"mode": "extract",
|
|
"url": "https://nodejs.org/dist/v$version/SHASUMS256.txt.asc",
|
|
"find": "([a-z0-9]{64})\\s+(?:$basename)"
|
|
}
|
|
}
|
|
}
|