From a20d360f266fde15367469e3df5f14c88edbd808 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alican=20=C3=87ubuk=C3=A7uo=C4=9Flu?= Date: Fri, 22 Oct 2021 00:47:30 +0300 Subject: [PATCH] Add `install-extension` script (#9) --- .gitignore | 3 ++- package.json | 8 +++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 88d366e..dc4199c 100644 --- a/.gitignore +++ b/.gitignore @@ -105,4 +105,5 @@ dist # Ignore Typescript files out -.vscode-test \ No newline at end of file +.vscode-test +sway-vscode-plugin.vsix diff --git a/package.json b/package.json index ef659fe..334104e 100644 --- a/package.json +++ b/package.json @@ -3,11 +3,17 @@ "displayName": "sway-vscode-plugin", "description": "Sway Language Extension", "version": "0.0.1", + "publisher": "FuelLabs", + "repository": { + "type": "git", + "url": "git+https://github.com/FuelLabs/sway-vscode-plugin.git" + }, "scripts": { "vscode:prepublish": "npm run compile", "compile": "tsc -b", "watch": "tsc -b -w", - "test": "sh ./scripts/e2e.sh" + "test": "sh ./scripts/e2e.sh", + "install-extension": "npx vsce package -o sway-vscode-plugin.vsix && code --install-extension sway-vscode-plugin.vsix" }, "engines": { "vscode": "^1.55.0"