ScoopInstaller_Main/nodejs.json
2019-03-29 20:39:25 +01:00

49 lines
1.5 KiB
JSON

{
"homepage": "https://nodejs.org",
"version": "11.13.0",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nodejs.org/dist/v11.13.0/node-v11.13.0-win-x64.7z",
"hash": "c0a1d95ebfc5c09ccbd83d9e091bb0597751a4c2aaa7e619deb2fcc6ce07949a",
"extract_dir": "node-v11.13.0-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v11.13.0/node-v11.13.0-win-x86.7z",
"hash": "523a768efb90ebbd6a0273792c8d427504bb31c4aa98e7c4dbeae5ea24d409e7",
"extract_dir": "node-v11.13.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"
}
}
}