ScoopInstaller_Main/nodejs.json
2017-09-26 22:01:47 +00:00

49 lines
1.6 KiB
JSON

{
"homepage": "https://nodejs.org",
"version": "8.6.0",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nodejs.org/dist/v8.6.0/node-v8.6.0-win-x64.7z",
"hash": "ae49bf305ae54c0d09c6b44f28186b87aabb0837bc3dea49b2cdab8d8efb8252",
"extract_dir": "node-v8.6.0-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v8.6.0/node-v8.6.0-win-x86.7z",
"hash": "ac8eb52c18dfe95881d0848dc81b8d196a313013d537de367685902400c6aaf0",
"extract_dir": "node-v8.6.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"
}
}
}