ScoopInstaller_Main/nodejs.json
2017-07-19 23:01:49 +00:00

49 lines
1.6 KiB
JSON

{
"homepage": "https://nodejs.org",
"version": "8.2.0",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nodejs.org/dist/v8.2.0/node-v8.2.0-win-x64.7z",
"hash": "87a301c6780193ab1f48e1c7dd2bed1c66c95bd4b32bb8e31fc9d0cbf82c2aeb",
"extract_dir": "node-v8.2.0-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v8.2.0/node-v8.2.0-win-x86.7z",
"hash": "2917af11647e353978607e70b135001b8a36fb4a55aeb8d4c4bb2b231f2e31c3",
"extract_dir": "node-v8.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/en/download/current/",
"re": "Current version: <strong>v([\\d.]+)</strong>"
},
"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"
}
}
}