ScoopInstaller_Main/nodejs.json
2017-05-30 21:01:16 +02:00

44 lines
1.3 KiB
JSON

{
"homepage": "http://nodejs.org",
"version": "8.0.0",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nodejs.org/dist/v8.0.0/node-v8.0.0-x64.msi",
"hash": "a6b7306302ce23b232467f19f766dda8b9684168976b24c8e6c55ea92d085176"
},
"32bit": {
"url": "https://nodejs.org/dist/v8.0.0/node-v8.0.0-x86.msi",
"hash": "715d1834a7b2741ae0a4401902ef91cc9f95dfe04c4a100bd3490e95ad5bf449"
}
},
"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/current/",
"re": "Current 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": {
"url": "$baseurl/SHASUMS256.txt.asc"
}
}
}