-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix:
measure-text
security vulnerability (#5)
* chore: Add development setup section to the contributing docs. * fix: measure-text upstream dependency security vulnerability (Prototype pollution).
- Loading branch information
1 parent
2f1dc21
commit 3104743
Showing
7 changed files
with
1,004 additions
and
825 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 |
---|---|---|
|
@@ -2,7 +2,50 @@ | |
|
||
Pull requests of any kind are welcome from the community, and if you're reading this I am really happy that you have decided to contribute. You rock! When contributing to this repository, please first discuss the change you wish to make via a GitHub issue with the owners of this repository before making a change. | ||
|
||
Please note we have a [Code of Conduct][url-code-of-conduct], please follow it in all your interactions with the project. | ||
Please note we have a [Code of Conduct][url-code-of-conduct], please follow it in all of your interactions with this project. | ||
|
||
## Development Setup | ||
|
||
**Installation:** | ||
|
||
1. Clone the project `git clone [email protected]:matt-d-rat/react-middle-truncate.git` | ||
2. Install npm dependencies `npm install` | ||
|
||
**Running the demo app:** | ||
|
||
``` | ||
npm start | ||
``` | ||
|
||
***Running Eslint*** | ||
|
||
``` | ||
npm run check | ||
``` | ||
|
||
**Running the tests:** | ||
|
||
_Mocha_ | ||
|
||
``` | ||
npm run test | ||
``` | ||
|
||
``` | ||
npm run test:watch | ||
``` | ||
|
||
_Karma (in-browser)_ | ||
|
||
``` | ||
npm run test:karma | ||
``` | ||
|
||
_Test coverage_ | ||
|
||
``` | ||
npm run cover | ||
``` | ||
|
||
## Pull Request Process | ||
|
||
|
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
Oops, something went wrong.