ScoopInstaller_Main/nodejs.json
2018-08-01 19:00:16 +00:00

49 lines
1.5 KiB
JSON

{
"homepage": "https://nodejs.org",
"version": "10.8.0",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nodejs.org/dist/v10.8.0/node-v10.8.0-win-x64.7z",
"hash": "13568f26465d5a4873ac1d6e82bc7fa50640df2ecf8c0d20220d39ec18d35a12",
"extract_dir": "node-v10.8.0-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v10.8.0/node-v10.8.0-win-x86.7z",
"hash": "d45222ab7cee7ab7cb802132d89c9afecdc6c86a8c927a316feb7d46e80bec6c",
"extract_dir": "node-v10.8.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"
}
}
}