ScoopInstaller_Main/nodejs.json
2018-11-15 22:00:23 +00:00

49 lines
1.5 KiB
JSON

{
"homepage": "https://nodejs.org",
"version": "11.2.0",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nodejs.org/dist/v11.2.0/node-v11.2.0-win-x64.7z",
"hash": "3079f2cc30d442171295fa02c621fdbaaa78ac33e3d18fa944e8246043aa7fcc",
"extract_dir": "node-v11.2.0-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v11.2.0/node-v11.2.0-win-x86.7z",
"hash": "0d0d7db24bd5e2f423b1b8b5a0185c5de5743bf3826ba9e2e15ff2eccdeaf1e1",
"extract_dir": "node-v11.2.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"
}
}
}