mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-15 13:11:22 +00:00
49 lines
1.5 KiB
JSON
49 lines
1.5 KiB
JSON
{
|
|
"homepage": "https://nodejs.org",
|
|
"version": "9.3.0",
|
|
"license": "MIT",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://nodejs.org/dist/v9.3.0/node-v9.3.0-win-x64.7z",
|
|
"hash": "e82bb00c604d01d9512a9a3e501b79c6f21aac1142c61c209b054883a37c8e67",
|
|
"extract_dir": "node-v9.3.0-win-x64"
|
|
},
|
|
"32bit": {
|
|
"url": "https://nodejs.org/dist/v9.3.0/node-v9.3.0-win-x86.7z",
|
|
"hash": "6e986688ad44538f0ab0253f393d20a978dd752586162fd6a036e0a5c45daaae",
|
|
"extract_dir": "node-v9.3.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"
|
|
}
|
|
}
|
|
}
|