-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from w4ffl35/feature-update-documentation
Updates README and CONTRIBUTING files with more info
- Loading branch information
Showing
7 changed files
with
68 additions
and
17 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 |
---|---|---|
@@ -1,10 +1,52 @@ | ||
1. Add tests for modified or additional code | ||
2. Use a separate branch for development with the following naming convention | ||
# Contributing | ||
--- | ||
|
||
[type]-[name] | ||
***Use a separate branch for development with the following naming convention*** | ||
|
||
**Examples:** | ||
``` | ||
- bugfix-some-unique-branch-name | ||
- hotfix-some-unique-branch-name | ||
- feature-some-unique-branch-name | ||
``` | ||
|
||
bugfix-some-unique-branch-name | ||
hotfix-some-unique-branch-name | ||
feature-some-unique-branch-na | ||
1. clone this repo | ||
1. install dependencies (jest for tests) `npm install` | ||
1. create a new branch named `[type]-[name]` (see example below) | ||
1. commit your changes | ||
1. run tests `npm run test` | ||
1. push your branch to the remote repository | ||
1. create a pull request | ||
|
||
--- | ||
|
||
## Run tests | ||
|
||
`npm run test` | ||
|
||
![img.png](img.png) | ||
|
||
--- | ||
|
||
## Run encryption from command line | ||
|
||
`npm run encrypt` | ||
|
||
![img_1.png](img_1.png) | ||
|
||
--- | ||
|
||
## Minify | ||
|
||
Until I finalize the pipeline, builds are performed manually. | ||
|
||
`npm run build` | ||
|
||
Please keep the following in mind when developing: | ||
|
||
- Add tests for modified or additional code | ||
- Keep code bloat to a minimum, the final minified code should remain very small | ||
- Maintain a consistent style | ||
- Use no dependencies | ||
- Comment everything (see example) | ||
|
||
![img_3.png](img_3.png) |
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
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