ScoopInstaller_Main/nodejs-lts.json
2019-02-28 13:01:51 +00:00

49 lines
1.6 KiB
JSON

{
"homepage": "https://nodejs.org",
"version": "10.15.2",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nodejs.org/dist/v10.15.2/node-v10.15.2-win-x64.7z",
"hash": "9872ed9b430858087e2ca843c6c5443a1227bb6dca59c044afb80acf800fd432",
"extract_dir": "node-v10.15.2-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v10.15.2/node-v10.15.2-win-x86.7z",
"hash": "d03762a0649ab87d1fdd5c137a3d9bfe7a770227e78600aa8790b0f66dc534bd",
"extract_dir": "node-v10.15.2-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"
}
}
}