-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create contributing guide and update readme
- Loading branch information
1 parent
12d39b8
commit 01cd4b3
Showing
2 changed files
with
48 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Contributing Guide - Payhere JS SDK | ||
|
||
## How to contribute | ||
|
||
- First pick an issue that you want to work on. If the issue that you want to fix is not listed already, please don't hesitate to create one. | ||
|
||
- Fork the repository and clone it into your computer. | ||
|
||
- Create a new branch off the `development` branch, using the following naming convention for the branch name. | ||
`{issue_no}_{short phrase which briefly explains the purpose of the branch}` | ||
Eg: #8_retry_subscription_function | ||
|
||
- Install dependencies using `npm install` or `yarn`. | ||
|
||
- Run `npm run build` to compile the TypeScript code. | ||
|
||
- Run `npm link` to create a symlink in the global npm folder | ||
|
||
- Then run `npm link payhere-js-sdk`, to install the package locally in any single page app, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters