mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-08 01:31:20 +00:00
44 lines
1.3 KiB
JSON
44 lines
1.3 KiB
JSON
{
|
|
"homepage": "http://nodejs.org",
|
|
"version": "7.10.0",
|
|
"license": "MIT",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://nodejs.org/dist/v7.10.0/node-v7.10.0-x64.msi",
|
|
"hash": "24a9170bab2f9f0afd54b1ca019f249cf30308d682151eb23dca3918dc6afff6"
|
|
},
|
|
"32bit": {
|
|
"url": "https://nodejs.org/dist/v7.10.0/node-v7.10.0-x86.msi",
|
|
"hash": "17c036e4bd4698efeb771d81f21624bdc6ab907aa4a8584ad0e801a057eb4cee"
|
|
}
|
|
},
|
|
"extract_dir": "nodejs",
|
|
"persist": [
|
|
"bin"
|
|
],
|
|
"env_add_path": [
|
|
".",
|
|
"bin"
|
|
],
|
|
"post_install": "
|
|
# Set npm prefix to install modules inside bin
|
|
Set-Content -Value \"prefix=$dir\\bin\" -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-x64.msi"
|
|
},
|
|
"32bit": {
|
|
"url": "https://nodejs.org/dist/v$version/node-v$version-x86.msi"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "$baseurl/SHASUMS256.txt.asc"
|
|
}
|
|
}
|
|
}
|