ScoopInstaller_Main/nodejs.json
2017-12-08 17:00:12 +00:00

49 lines
1.5 KiB
JSON

{
"homepage": "https://nodejs.org",
"version": "9.2.1",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nodejs.org/dist/v9.2.1/node-v9.2.1-win-x64.7z",
"hash": "90adffc98e023caaeaebfc7af5afdefc3a5e2441bb102ec2e598223d6c4c4b0c",
"extract_dir": "node-v9.2.1-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v9.2.1/node-v9.2.1-win-x86.7z",
"hash": "6f81daf00d1a84530b286ecc1f2e296cb423b9076debdda25b351c78d36b66c1",
"extract_dir": "node-v9.2.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/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"
}
}
}