ScoopInstaller_Main/nodejs.json
2018-03-02 03:01:47 +00:00

49 lines
1.5 KiB
JSON

{
"homepage": "https://nodejs.org",
"version": "9.7.1",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nodejs.org/dist/v9.7.1/node-v9.7.1-win-x64.7z",
"hash": "7e805305d5ec00cd30952287a017203ae0c1ffa1d23fc5028bc3725e6d65583f",
"extract_dir": "node-v9.7.1-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v9.7.1/node-v9.7.1-win-x86.7z",
"hash": "854cdff1c4a3a46d7e745ac9c436517b2144ccd8a36420e18c13f1d94d7c7104",
"extract_dir": "node-v9.7.1-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"
}
}
}