ScoopInstaller_Main/nodejs.json
2018-03-08 03:00:21 +00:00

49 lines
1.5 KiB
JSON

{
"homepage": "https://nodejs.org",
"version": "9.8.0",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nodejs.org/dist/v9.8.0/node-v9.8.0-win-x64.7z",
"hash": "ede566d6d4260fbfddb8a92073bc92abe01f2ed26ac23825f65cc7aec5285270",
"extract_dir": "node-v9.8.0-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v9.8.0/node-v9.8.0-win-x86.7z",
"hash": "1545ad8233230e76940d56e698507fb55807e69ff8ee5ddad7f486dbc76af60d",
"extract_dir": "node-v9.8.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"
}
}
}