ScoopInstaller_Main/nodejs.json
2018-10-10 22:00:23 +00:00

49 lines
1.5 KiB
JSON

{
"homepage": "https://nodejs.org",
"version": "10.12.0",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nodejs.org/dist/v10.12.0/node-v10.12.0-win-x64.7z",
"hash": "2d6f1b952d48a89d34a18b05cdef0af4f7ab13ba8c4f8dc42a458ea15023f645",
"extract_dir": "node-v10.12.0-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v10.12.0/node-v10.12.0-win-x86.7z",
"hash": "c376c7e3fe5de91c5e71fd4c7324f705679eb9899850851b93c2292eb85b4594",
"extract_dir": "node-v10.12.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"
}
}
}