ScoopInstaller_Main/nodejs.json
2018-12-18 19:00:25 +00:00

49 lines
1.5 KiB
JSON

{
"homepage": "https://nodejs.org",
"version": "11.5.0",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nodejs.org/dist/v11.5.0/node-v11.5.0-win-x64.7z",
"hash": "b11459745e420b3147fd51be6d026ba431c7f3c5b6bbcc0261fdff5bf547565c",
"extract_dir": "node-v11.5.0-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v11.5.0/node-v11.5.0-win-x86.7z",
"hash": "838b75c304a24296d14be9585dc216e7f67f63856c364514a53264d8a4a9c6aa",
"extract_dir": "node-v11.5.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/dist/latest/",
"re": "node-v([\\d.]+)-x86.msi"
},
"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"
}
}
}