Skip to content
This repository has been archived by the owner on Jun 21, 2020. It is now read-only.

Commit

Permalink
Adds greeter example package.
Browse files Browse the repository at this point in the history
Refs #1.

This will contain a simple "Hello world" example using BXPB. It will also serve as a test case to use for the rest of the repo.
  • Loading branch information
dgp1130 committed May 16, 2020
1 parent 832defd commit 315271c
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 1 deletion.
5 changes: 5 additions & 0 deletions examples/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# BXPB Examples

This contains a list of examples and test use cases for BXPB.

* [Greeter](greeter/) - The simplest "Hello World" example.
4 changes: 4 additions & 0 deletions examples/greeter/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Greeter Example Service

This "Hello World" example shows a simple bxpb client and service communicating across different
contexts in a browser extension.
16 changes: 16 additions & 0 deletions examples/greeter/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "greeter",
"version": "0.0.0",
"private": true,
"description": "Hello world example using bxpb.",
"author": "Doug Parker <dgp1130@users.noreply.github.com>",
"homepage": "https://github.com/dgp1130/bxpb/tree/master/examples/greeter",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/dgp1130/bxpb.git"
},
"bugs": {
"url": "https://github.com/dgp1130/bxpb/issues"
}
}
3 changes: 2 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"packages": [
"packages/*"
"packages/*",
"examples/*"
],
"version": "0.0.0"
}

0 comments on commit 315271c

Please sign in to comment.