ScoopInstaller_Main/nodejs-lts.json
2018-06-13 00:00:23 +00:00

49 lines
1.6 KiB
JSON

{
"homepage": "https://nodejs.org",
"version": "8.11.3",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nodejs.org/dist/v8.11.3/node-v8.11.3-win-x64.7z",
"hash": "87ea95cef11a0c840556a164a664917ddaebde76e2dac6607c519d56ea68d5f8",
"extract_dir": "node-v8.11.3-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v8.11.3/node-v8.11.3-win-x86.7z",
"hash": "df3649ce8fed94c474491d378f1385b949a6208d2f6a6b4097e081ab55501c4e",
"extract_dir": "node-v8.11.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"
}
}
}