ScoopInstaller_Main/nodejs-lts.json
2017-12-08 17:00:12 +00:00

49 lines
1.5 KiB
JSON

{
"homepage": "https://nodejs.org",
"version": "8.9.3",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nodejs.org/dist/v8.9.3/node-v8.9.3-win-x64.7z",
"hash": "d67bea0d8e27e66b55bdc32de600a11611e73b3a2322401a487513e56304559c",
"extract_dir": "node-v8.9.3-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v8.9.3/node-v8.9.3-win-x86.7z",
"hash": "e23102d8555eace48b9976a490f3a5b702a74eff7184cdd99b7dc2e1b8d22fcb",
"extract_dir": "node-v8.9.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"
}
}
}