ScoopInstaller_Main/nodejs-lts.json
2017-06-01 23:07:55 +02:00

49 lines
1.5 KiB
JSON

{
"homepage": "http://nodejs.org",
"version": "6.10.3",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nodejs.org/dist/v6.10.3/node-v6.10.3-win-x64.7z",
"hash": "86993d66c110592be3a4d4e78c5d386b17e1d8437cc6fa2a5a227369c1915a1e",
"extract_dir": "node-v6.10.3-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v6.10.3/node-v6.10.3-win-x86.7z",
"hash": "d236ab5607a1cee6ef5f1a7ae1c1bfbe212218dd7d823ea2d57d12e3d3bf7cd8",
"extract_dir": "node-v6.10.3-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"
}
}
}