Skip to content

Commit

Permalink
Add install-extension script (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlicanC authored Oct 21, 2021
1 parent dd8732b commit a20d360
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,5 @@ dist

# Ignore Typescript files
out
.vscode-test
.vscode-test
sway-vscode-plugin.vsix
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a20d360

Please sign in to comment.