From 413ad86a326baacf1020b012cd02b48bb956255e Mon Sep 17 00:00:00 2001 From: AutomatedTester Date: Wed, 21 Feb 2024 11:06:27 +0000 Subject: [PATCH] Add details on how to develop the plugin --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 3609fbd..b97161a 100644 --- a/README.md +++ b/README.md @@ -72,3 +72,20 @@ The Environments Panel makes it easy to test across multiple browsers and device [nightwatch]: https://nightwatchjs.org/ [nightwatch-environments]: https://nightwatchjs.org/guide/concepts/test-environments.html [vscode-marketplace-link]: https://marketplace.visualstudio.com/items?itemName=browserstackcom.nightwatch + +## Development of the Plugin + +When working on the plugin you will need to do the following: + +- Fork this repository +- Checkout the fork +- create a branch to fix the issue e.g. `git checkout -b issueSomeNumber` +- Install dependencies +**`npm install .` +** `npm install -g @vscode/vsce` + +Go fix the issue and then use on of the npm commands to package and test. See commands available in the `package.json` + +To create an installable extension run the following command from the top level of the repository. + +`vsce package`