ScoopInstaller_Main/bucket/nodejs-lts.json
2019-08-02 11:04:44 +00:00

49 lines
1.6 KiB
JSON

{
"homepage": "https://nodejs.org",
"version": "10.16.1",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nodejs.org/dist/v10.16.1/node-v10.16.1-win-x64.7z",
"hash": "70b08ba7b488dee2b135b6d5c02ac5ccd6954fd5623da5b3408dec63ce60e6f9",
"extract_dir": "node-v10.16.1-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v10.16.1/node-v10.16.1-win-x86.7z",
"hash": "ba46e3bd5be77d5c13ac41efacb211508bef6da6cff894a2d0e99ddee79a244e",
"extract_dir": "node-v10.16.1-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"
}
}
}