ScoopInstaller_Main/bucket/nodejs-lts.json
2020-02-06 04:01:53 +00:00

50 lines
1.7 KiB
JSON

{
"homepage": "https://nodejs.org",
"description": "As an asynchronous event driven JavaScript runtime, Node is designed to build scalable network applications. (Long Term Support)",
"version": "12.15.0",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nodejs.org/dist/v12.15.0/node-v12.15.0-win-x64.7z",
"hash": "5b7d4beb9fc4c16b08b06de394b738caeec94f3d22d38f78ca02f386b9897f83",
"extract_dir": "node-v12.15.0-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v12.15.0/node-v12.15.0-win-x86.7z",
"hash": "a033ff4501155b3f0d63f08a40bf02d3bebd98485895ffd0cb638c6071eb6f6c",
"extract_dir": "node-v12.15.0-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"
}
}
}