Skip to content

Commit 545ccdd

Browse files
committed
Add npm run uninstall for switching back to marketplace version
1 parent 3002439 commit 545ccdd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@
4545
"test": "node --import tsx --test test/*.test.ts",
4646
"package": "vsce package --allow-star-activation",
4747
"publish": "vsce publish --allow-star-activation",
48-
"reinstall": "rm -f *.vsix && npm run package && code --install-extension git-crypt-vscode-*.vsix && rm -f *.vsix"
48+
"reinstall": "rm -f *.vsix && npm run package && code --install-extension git-crypt-vscode-*.vsix && rm -f *.vsix",
49+
"uninstall": "code --uninstall-extension $npm_package_publisher.$npm_package_name"
4950
},
5051
"devDependencies": {
5152
"@types/vscode": "^1.85.0",

0 commit comments

Comments
 (0)