From 68f26ec63bfe9265ee8bc6fbcaab25e466e718a7 Mon Sep 17 00:00:00 2001 From: Carlos Precioso Date: Tue, 31 Oct 2017 14:00:51 +0100 Subject: [PATCH] Add node-chakracore (#1802) --- node-chakracore.json | 48 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 node-chakracore.json diff --git a/node-chakracore.json b/node-chakracore.json new file mode 100644 index 0000000000..7821e97f64 --- /dev/null +++ b/node-chakracore.json @@ -0,0 +1,48 @@ +{ + "homepage": "https://github.com/nodejs/node-chakracore", + "version": "8.6.0", + "license": "MIT", + "architecture": { + "32bit": { + "url": "https://nodejs.org/download/chakracore-release/v8.6.0/node-v8.6.0-win-x86.7z", + "hash": "f01d7f645d7441d4ae89ac8f12c1d269e6ff920755274f86e47fccf46bf1a5fb", + "extract_dir": "node-v8.6.0-win-x86" + }, + "64bit": { + "url": "https://nodejs.org/download/chakracore-release/v8.6.0/node-v8.6.0-win-x64.7z", + "hash": "6b60f47773a57eec1603ae43ef7a75622498596aff98a71b3673ee8a9126deb2", + "extract_dir": "node-v8.6.0-win-x64" + } + }, + "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/download/chakracore-release/index.json", + "re": "v([\\d.]+)" + }, + "autoupdate": { + "architecture": { + "32bit": { + "url": "https://nodejs.org/download/chakracore-release/v$version/node-v$version-win-x86.7z", + "extract_dir": "node-v$version-win-x86" + }, + "64bit": { + "url": "https://nodejs.org/download/chakracore-release/v$version/node-v$version-win-x64.7z", + "extract_dir": "node-v$version-win-x64" + } + }, + "hash": { + "url": "https://nodejs.org/download/chakracore-release/v$version/SHASUMS256.txt" + } + } +}