ScoopInstaller_Main/nodejs.json
2017-06-01 23:07:55 +02:00

49 lines
1.6 KiB
JSON

{
"homepage": "http://nodejs.org",
"version": "8.0.0",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nodejs.org/dist/v8.0.0/node-v8.0.0-win-x64.7z",
"hash": "9bc84644228ab1e96dfb78eea4144c7c9732ccd33b44a4b8994fd232fafa19b5",
"extract_dir": "node-v8.0.0-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v8.0.0/node-v8.0.0-win-x86.7z",
"hash": "4c4d1c21a56ab4da6a24543ee27bd2d22fbbf5fcae9ccc3422869ad45754809c",
"extract_dir": "node-v8.0.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"
}
}
}