2019-06-04 15:00:46 +00:00

49 lines
1.5 KiB
JSON

{
"homepage": "https://nodejs.org",
"version": "12.4.0",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nodejs.org/dist/v12.4.0/node-v12.4.0-win-x64.7z",
"hash": "0044440b9d2b6f99d5c93eee6da3ecbf9d186130e2a1c61664f03a1b52797c41",
"extract_dir": "node-v12.4.0-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v12.4.0/node-v12.4.0-win-x86.7z",
"hash": "b85b199e84fb3a3912481c6ccf01031857717ce91b2137e4150b0ba6aff0de7c",
"extract_dir": "node-v12.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"
}
}
}