ScoopInstaller_Main/nodejs.json
Hugo Locurcio 5133e1fc38 Update nodejs to version 8.7.0 (#1766)
* Update nodejs to version 8.7.0

* nodejs: fix checkver
2017-10-15 20:36:30 +02:00

49 lines
1.5 KiB
JSON

{
"homepage": "https://nodejs.org",
"version": "8.7.0",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nodejs.org/dist/v8.7.0/node-v8.7.0-win-x64.7z",
"hash": "27a5a69c7ffae89a3846b778f970643cc53e45e53e16801921aa4ea69e924695",
"extract_dir": "node-v8.7.0-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v8.7.0/node-v8.7.0-win-x86.7z",
"hash": "f0bd40e04415750b1289403a37eb15d86da77e99132fe6a7c637c4c620c41ef1",
"extract_dir": "node-v8.7.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/dist/latest/",
"re": "node-v([\\d.]+)-x86.msi"
},
"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"
}
}
}