ScoopInstaller_Main/nodejs.json
2017-06-13 23:00:29 +00:00

49 lines
1.6 KiB
JSON

{
"homepage": "http://nodejs.org",
"version": "8.1.1",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nodejs.org/dist/v8.1.1/node-v8.1.1-win-x64.7z",
"hash": "bd9b864368c035a90bc386e63a70abcceaaad20bdda568765ee02fa4e1360056",
"extract_dir": "node-v8.1.1-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v8.1.1/node-v8.1.1-win-x86.7z",
"hash": "74d5b87313195aeee0613d479a6505363b6b31f8fd966fc0157554779460d705",
"extract_dir": "node-v8.1.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/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"
}
}
}