mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-13 12:11:21 +00:00
40 lines
1.3 KiB
JSON
40 lines
1.3 KiB
JSON
{
|
|
"homepage": "http://nodejs.org",
|
|
"version": "6.10.1",
|
|
"license": "MIT",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://nodejs.org/dist/v6.10.1/node-v6.10.1-x64.msi",
|
|
"hash": "e9fd4ff49700ece923e6e0d9b9013abc1ce65c3ed3a5810d166a0e05a911c2d4"
|
|
},
|
|
"32bit": {
|
|
"url": "https://nodejs.org/dist/v6.10.1/node-v6.10.1-x86.msi",
|
|
"hash": "868a96e012222ce95c732d4e2c97d0349f8fefbd889af690cf6d2278d6844932"
|
|
}
|
|
},
|
|
"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/",
|
|
"re": "LTS 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)"
|
|
}
|
|
}
|
|
}
|