Skip to content

Commit

Permalink
Replace http-server with serve in examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
ealmansi committed Apr 24, 2021
1 parent cb74cff commit 581935b
Show file tree
Hide file tree
Showing 8 changed files with 452 additions and 151 deletions.
4 changes: 2 additions & 2 deletions examples/dynamic/browser/example1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
*
* Run the following command from the examples directory root:
*
* `npx http-server dynamic/browser/example1`
* `npx serve dynamic/browser/example1`
*
* Then, browse to URL http://127.0.0.1:8080 and open the
* Then, browse to URL http://localhost:5000 and open the
* development console.
*/

Expand Down
4 changes: 2 additions & 2 deletions examples/dynamic/browser/example2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
*
* Run the following command from the examples directory root:
*
* `npx http-server dynamic/browser/example2`
* `npx serve dynamic/browser/example2`
*
* Then, browse to URL http://127.0.0.1:8080 and open the
* Then, browse to URL http://localhost:5000 and open the
* development console.
*/

Expand Down
4 changes: 2 additions & 2 deletions examples/dynamic/browser/example3/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
*
* Run the following command from the examples directory root:
*
* `npx http-server dynamic/browser/example3`
* `npx serve dynamic/browser/example3`
*
* Then, browse to URL http://127.0.0.1:8080 and open the
* Then, browse to URL http://localhost:5000 and open the
* development console.
*/

Expand Down
4 changes: 2 additions & 2 deletions examples/fixed/browser/example1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
*
* Run the following command from the examples directory root:
*
* `npx http-server fixed/browser/example1`
* `npx serve fixed/browser/example1`
*
* Then, browse to URL http://127.0.0.1:8080 and open the
* Then, browse to URL http://localhost:5000 and open the
* development console.
*/

Expand Down
4 changes: 2 additions & 2 deletions examples/fixed/browser/example2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
*
* Run the following command from the examples directory root:
*
* `npx http-server fixed/browser/example2`
* `npx serve fixed/browser/example2`
*
* Then, browse to URL http://127.0.0.1:8080 and open the
* Then, browse to URL http://localhost:5000 and open the
* development console.
*/

Expand Down
4 changes: 2 additions & 2 deletions examples/fixed/browser/example3/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
*
* Run the following command from the examples directory root:
*
* `npx http-server fixed/browser/example3`
* `npx serve fixed/browser/example3`
*
* Then, browse to URL http://127.0.0.1:8080 and open the
* Then, browse to URL http://localhost:5000 and open the
* development console.
*/

Expand Down
2 changes: 1 addition & 1 deletion examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"@babel/plugin-transform-runtime": "7.11.0",
"@babel/preset-env": "7.11.0",
"@babel/register": "7.10.5",
"http-server": "0.12.3"
"serve": "11.3.2"
}
}

0 comments on commit 581935b

Please sign in to comment.