From 7cef0ffaae6139c29bcdf75ed1152a32350b073b Mon Sep 17 00:00:00 2001 From: Splines Date: Thu, 4 Jul 2024 00:02:33 +0200 Subject: [PATCH] Add npm script to install latest version of `just` --- package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package.json b/package.json index e426ab660..43b31fe0e 100644 --- a/package.json +++ b/package.json @@ -23,5 +23,9 @@ "eslint-plugin-cypress": "^3.3.0", "eslint-plugin-erb": "^2.0.0", "globals": "^15.1.0" + }, + "scripts": { + "install-just-to-bin": "curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to ~/bin && echo 'export PATH=\"$PATH:$HOME/bin\" # for \"just\" binary' >> ~/.bashrc", + "remove-just-from-bin": "rm -rf ~/bin/just --interactive" } }