From ade711c6eea5e70c41cb32b93953f081a9fc549a Mon Sep 17 00:00:00 2001 From: Damian Tarnawski Date: Wed, 4 Oct 2023 21:30:27 +0200 Subject: [PATCH] Remove `vscode:prepublish` and split `build` and `package` scripts --- editors/vscode/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/editors/vscode/package.json b/editors/vscode/package.json index 120fedf2..b8ffe8ae 100644 --- a/editors/vscode/package.json +++ b/editors/vscode/package.json @@ -118,12 +118,12 @@ ] }, "scripts": { - "vscode:prepublish": "npm run compile", "compile": "tsc -p ./", "lint": "eslint src --ext ts", "watch": "tsc -watch -p ./", "pretest": "npm run compile && npm run lint", - "package": "npm run compile && vsce package -o extension.vsix", + "package": "vsce package -o extension.vsix", + "build": "npm run compile && npm run package", "test": "node ./out/test/runTest.js" }, "devDependencies": { @@ -152,4 +152,4 @@ "editor.semanticHighlighting.enabled": true } } -} \ No newline at end of file +}