diff --git a/bucket/nodejs10-lts.json b/bucket/nodejs10-lts.json new file mode 100644 index 0000000..4c6e09d --- /dev/null +++ b/bucket/nodejs10-lts.json @@ -0,0 +1,49 @@ +{ + "homepage": "https://nodejs.org", + "description": "As an asynchronous event driven JavaScript runtime, Node is designed to build scalable network applications. (Long Term Support)", + "version": "10.16.3", + "license": "MIT", + "architecture": { + "64bit": { + "url": "http://dl.simaek.com/scoop/buckets/custom/package/node-v10.16.3-win-x64.7z", + "hash": "c2cc3b95d6e8504b20623cfe74f848d1ebc2f43a262e7bae14bee64db2b13889", + "extract_dir": "node-v10.16.3-win-x64" + }, + "32bit": { + "url": "http://dl.simaek.com/scoop/buckets/custom/package/node-v10.16.3-win-x86.7z", + "hash": "fc1ccb1e6f12fe68e816c552e6b1df289a8bfe064c025eb62c360bd041da4a5f", + "extract_dir": "node-v10.16.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: ([\\d.]+)" + }, + "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" + } + } +}