Skip to content

Commit

Permalink
chore: remove npm-audit in favor of synk
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Feb 16, 2021
1 parent 210bd91 commit aa993af
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 162 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<div align="center">

[![circleci-image]][circleci-url] [![typescript-image]][typescript-url] [![npm-image]][npm-url] [![license-image]][license-url] [![audit-report-image]][audit-report-url]
[![circleci-image]][circleci-url] [![typescript-image]][typescript-url] [![npm-image]][npm-url] [![license-image]][license-url] [![synk-image]][synk-url]

</div>

Expand Down Expand Up @@ -49,5 +49,5 @@
[license-image]: https://img.shields.io/npm/l/@adonisjs/redis?color=blueviolet&style=for-the-badge
[license-url]: LICENSE.md "license"

[audit-report-image]: https://img.shields.io/badge/-Audit%20Report-blueviolet?style=for-the-badge
[audit-report-url]: https://htmlpreview.github.io/?https://github.com/adonisjs/redis/blob/develop/npm-audit.html "audit-report"
[synk-image]: https://img.shields.io/snyk/vulnerabilities/github/adonisjs/redis?label=Synk%20Vulnerabilities&style=for-the-badge
[synk-url]: https://snyk.io/test/github/adonisjs/redis?targetFile=package.json "synk"
156 changes: 0 additions & 156 deletions npm-audit.html

This file was deleted.

4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
"japa": "^3.1.1",
"mrm": "^2.5.18",
"np": "^7.4.0",
"npm-audit-html": "^1.5.0",
"prettier": "^2.2.1",
"typescript": "^4.1.5"
},
Expand All @@ -87,8 +86,7 @@
},
"husky": {
"hooks": {
"commit-msg": "node ./node_modules/@adonisjs/mrm-preset/validateCommit/conventional/validate.js",
"pre-commit": "npm audit --production --json | ./node_modules/.bin/npm-audit-html && git add npm-audit.html"
"commit-msg": "node ./node_modules/@adonisjs/mrm-preset/validateCommit/conventional/validate.js"
}
},
"config": {
Expand Down

0 comments on commit aa993af

Please sign in to comment.