mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-16 05:31:21 +00:00
49 lines
1.5 KiB
JSON
49 lines
1.5 KiB
JSON
{
|
|
"homepage": "https://nodejs.org",
|
|
"version": "9.1.0",
|
|
"license": "MIT",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://nodejs.org/dist/v9.1.0/node-v9.1.0-win-x64.7z",
|
|
"hash": "2ff2890c567497a719c0fda5c2c62dd2e5323f621cdcb12ae9249adde57c2472",
|
|
"extract_dir": "node-v9.1.0-win-x64"
|
|
},
|
|
"32bit": {
|
|
"url": "https://nodejs.org/dist/v9.1.0/node-v9.1.0-win-x86.7z",
|
|
"hash": "4964bc7962160cca1f5aceaa33f1c4076ac40a94a4a058db39964c6a982afab9",
|
|
"extract_dir": "node-v9.1.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/dist/latest/",
|
|
"re": "node-v([\\d.]+)-x86.msi"
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|