Skip to content

Commit 75e322b

Browse files
committed
Update README
1 parent 7a78575 commit 75e322b

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

README.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Heavily inspired from [Egghead.io - How to Write an Open Source JavaScript Libra
2929
| Debugging via [debug](https://www.npmjs.com/package/debug) | Instead of inserting and deleting console.log you can replace it with the debug function and just leave it there. You can then selectively debug portions of your code by setting DEBUG env variable. If DEBUG env variable is not set, nothing is displayed to the console. |
3030
| Promisified Code via [bluebird](https://github.com/petkaantonov/bluebird) | We love promise, don't we ? All our code is promisified and even so our tests via [supertest-as-promised](https://www.npmjs.com/package/supertest-as-promised). |
3131
| API parameter validation via [express-validation](https://www.npmjs.com/package/express-validation) | Validate body, params, query, headers and cookies of a request (via middleware) and return a response with errors; if any of the configured validation rules fail. You won't anymore need to make your route handler dirty with such validations. |
32+
| Pre-commit hooks | Runs lint and tests before any commit is made locally, making sure that only tested and quality code is committed
3233
| Secure app via [helmet](https://github.com/helmetjs/helmet) | Helmet helps secure Express apps by setting various HTTP headers. |
3334

3435
- CORS support via [cors](https://github.com/expressjs/cors)
@@ -83,17 +84,6 @@ npm run lint:watch
8384
gulp
8485
```
8586

86-
##### Commit:
87-
88-
Follows [AngularJS's commit message convention](https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#-git-commit-guidelines)
89-
```sh
90-
# Lint and execute tests before committing code.
91-
npm run commit
92-
# OR
93-
# use git commit directly with correct message convention.
94-
git commit -m "chore(ghooks): Add pre-commit and commit-msg ghook"
95-
```
96-
9787
##### Deployment
9888

9989
```sh

0 commit comments

Comments
 (0)