ScoopInstaller_Main/nodejs-lts.json
2017-09-05 20:00:15 +00:00

49 lines
1.5 KiB
JSON

{
"homepage": "https://nodejs.org",
"version": "6.11.3",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nodejs.org/dist/v6.11.3/node-v6.11.3-win-x64.7z",
"hash": "a767bca7033cbbde3294080728b564145ac4fbf13f408a9070d9b5acc5c56068",
"extract_dir": "node-v6.11.3-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v6.11.3/node-v6.11.3-win-x86.7z",
"hash": "59e1dd9dbd312cb16a3a2c1a549625c8d5352d1465d91f47889818beeafa625b",
"extract_dir": "node-v6.11.3-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/en/download/",
"re": "LTS Version: <strong>v([\\d.]+)</strong>"
},
"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"
}
}
}