ScoopInstaller_Main/nodejs.json
Ross Smith II 822c4bee45 Add quotes around $dir/$persist_dir vars where needed (#1948)
* Add quotes around $dir var where needed

* Add quotes around $dir vars where needed
2018-01-26 17:43:48 +01:00

49 lines
1.5 KiB
JSON

{
"homepage": "https://nodejs.org",
"version": "9.4.0",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nodejs.org/dist/v9.4.0/node-v9.4.0-win-x64.7z",
"hash": "7ae0a1667ac3a71579785b93978c0f6b1996af2b9a9f09fa1b14e2019848824f",
"extract_dir": "node-v9.4.0-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v9.4.0/node-v9.4.0-win-x86.7z",
"hash": "38afcac73b8d8fa21724a68e7839bdb48b8cb7fcec409c09e042ce0ef41a675c",
"extract_dir": "node-v9.4.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"
}
}
}