ScoopInstaller_Main/bucket/nodejs-lts.json
2019-11-19 11:00:22 +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.13.1",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nodejs.org/dist/v12.13.1/node-v12.13.1-win-x64.7z",
"hash": "cf0938b607ba0ef2f304e96a07be5abe1b6a48e24e492e32d2e104d90653aa7d",
"extract_dir": "node-v12.13.1-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v12.13.1/node-v12.13.1-win-x86.7z",
"hash": "509426c34c56b0fb65af7a36e889a904d8ff29f3709920c7caace9764274e867",
"extract_dir": "node-v12.13.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"
}
}
}