ScoopInstaller_Main/nodejs.json
2017-08-10 03:00:30 +00:00

49 lines
1.6 KiB
JSON

{
"homepage": "https://nodejs.org",
"version": "8.3.0",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nodejs.org/dist/v8.3.0/node-v8.3.0-win-x64.7z",
"hash": "2316d61af691c17c1074230b2e37a46ef13eb206fc5aa5232701958fcda05200",
"extract_dir": "node-v8.3.0-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v8.3.0/node-v8.3.0-win-x86.7z",
"hash": "d540dc4e9a51f6c14a0c79b75ccfb7f86f570ee60b3a9c73384281ecced8df29",
"extract_dir": "node-v8.3.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"
}
}
}