diff options
| author | DanielGavin <danielgavin5@hotmail.com> | 2023-10-06 12:50:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-06 12:50:03 +0200 |
| commit | 5d33af9f1f69c6469510a5fda40aede1f4f6e21c (patch) | |
| tree | 7cf5f94cb70398eca213b88162bc0ad86dff61fe /editors | |
| parent | 7b3af85486992f463a586ae3e83bfbb69ecbf8dc (diff) | |
| parent | ade711c6eea5e70c41cb32b93953f081a9fc549a (diff) | |
Merge pull request #256 from thetarnav/update-npm-scipts
Remove `vscode:prepublish` and split `build` and `package` scripts
Diffstat (limited to 'editors')
| -rw-r--r-- | editors/vscode/package.json | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/vscode/package.json b/editors/vscode/package.json index 120fedf..b8ffe8a 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 +} |