ScoopInstaller_Main/nodejs-lts.json
2019-03-05 18:00:25 +00:00

49 lines
1.6 KiB
JSON

{
"homepage": "https://nodejs.org",
"version": "10.15.3",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nodejs.org/dist/v10.15.3/node-v10.15.3-win-x64.7z",
"hash": "9df98cac063229aca443c040fd342a96667891bb8eda821d10aa4d49347d7add",
"extract_dir": "node-v10.15.3-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v10.15.3/node-v10.15.3-win-x86.7z",
"hash": "597a372964252daaba4cb8dcac57305f79cffeeca579625f0cd6ab85d29ccdda",
"extract_dir": "node-v10.15.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>([\\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"
}
}
}