ScoopInstaller_Main/nodejs.json
2018-11-02 13:00:29 +00:00

49 lines
1.5 KiB
JSON

{
"homepage": "https://nodejs.org",
"version": "11.1.0",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nodejs.org/dist/v11.1.0/node-v11.1.0-win-x64.7z",
"hash": "a20b54297d9b9341e0af2aec82a9df5067e1dcb92fc5c6ecd0bdcec28ce4aa66",
"extract_dir": "node-v11.1.0-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v11.1.0/node-v11.1.0-win-x86.7z",
"hash": "1617d3ad4635f65ef578a6f2a3a44ed2826dd45df57e510425df858f0a2f3f4a",
"extract_dir": "node-v11.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"
}
}
}