mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-15 13:11:22 +00:00
40 lines
1.3 KiB
JSON
40 lines
1.3 KiB
JSON
{
|
|
"homepage": "http://nodejs.org",
|
|
"version": "7.7.3",
|
|
"license": "MIT",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://nodejs.org/dist/v7.7.3/node-v7.7.3-x64.msi",
|
|
"hash": "755128b0edfc619b6655cb2a3dbe704504e8e32b775c63def6b0049b3e322ae7"
|
|
},
|
|
"32bit": {
|
|
"url": "https://nodejs.org/dist/v7.7.3/node-v7.7.3-x86.msi",
|
|
"hash": "28a2b3cec0fd883ef203d5d1bfdc22f4e87b581145825c8cebaae635117849d3"
|
|
}
|
|
},
|
|
"env_add_path": "nodejs",
|
|
"post_install": "
|
|
# Remove npmrc that makes global modules get installed in AppData\\Roaming\\npm
|
|
rm $dir\\nodejs\\node_modules\\npm\\npmrc
|
|
npm update -g",
|
|
"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": {
|
|
"mode": "extract",
|
|
"url": "https://nodejs.org/dist/v$version/SHASUMS256.txt.asc",
|
|
"find": "([a-z0-9]{64})\\s+(?:$basename)"
|
|
}
|
|
}
|
|
}
|