mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-17 14:11:19 +00:00
40 lines
1.3 KiB
JSON
40 lines
1.3 KiB
JSON
{
|
|
"homepage": "http://nodejs.org",
|
|
"version": "7.5.0",
|
|
"license": "MIT",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://nodejs.org/dist/v7.5.0/node-v7.5.0-x64.msi",
|
|
"hash": "be6f9b7575a8a2d26b959814899d6aa4a91bc06bf65081064bb3b1cbe7a3e142"
|
|
},
|
|
"32bit": {
|
|
"url": "https://nodejs.org/dist/v7.5.0/node-v7.5.0-x86.msi",
|
|
"hash": "2e63fde6af03e510dee11fbf0217a3a96a64fed712ae5ec6a8ae6541df791e77"
|
|
}
|
|
},
|
|
"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)"
|
|
}
|
|
}
|
|
}
|