Skip to content

Commit

Permalink
Updated script and CONTRIBUTING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ankur12-1610 committed Mar 5, 2023
1 parent 6efa60e commit b4f762b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ Please follow these guidelines when contributing:
supported via a polyfill;
- Do not prettify code you are not working on;
- You must test your code yourself before asking for review, like this:
- set up a local Web server (we recommend Node/NPM's [http-server](https://www.npmjs.com/package/http-server));
- serve the root directory of the repository (e.g. `http-server .`);
- set up a local Web server (we recommend Node/NPM's [http-server](https://www.npmjs.com/package/http-server)) by running `npm serve` in the root of this repo;
- in a browser, navigate to the URL of the main `index.html` (e.g. http://localhost:8080/www/index.html);
- manually test your fix in at least Firefox and Chromium (Edge or Chrome), ideally also in IE11 or in "IE Mode" in Edge;
- be sure to test your fix in both "JQuery" mode and "Service Worker" mode (see Configuration);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"scripts": {
"start": "http-server .",
"serve": "http-server .",
"test": "npm run test-unit-local",
"test-unit-local": "karma start tests/karma.conf.local.js",
"test-unit-firefox": "karma start tests/karma.conf.local.js --browsers FirefoxHeadless",
Expand Down

0 comments on commit b4f762b

Please sign in to comment.