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 14, 2021
1 parent f42cce2 commit 513791c
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 @@ -74,7 +74,7 @@

<div align="center">

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

</div>

Expand Down Expand Up @@ -112,5 +112,5 @@
[license-url]: LICENSE.md
[license-image]: https://img.shields.io/github/license/adonisjs/adonis-framework?style=for-the-badge

[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/core/blob/develop/npm-audit.html "audit-report"
[synk-image]: https://img.shields.io/snyk/vulnerabilities/github/adonisjs/core?label=Synk%20Vulnerabilities&style=for-the-badge
[synk-url]: https://snyk.io/test/github/adonisjs/core?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 @@ -67,7 +67,6 @@
"japa": "^3.1.1",
"mrm": "^2.5.18",
"np": "^7.4.0",
"npm-audit-html": "^1.5.0",
"prettier": "^2.2.1",
"reflect-metadata": "^0.1.13",
"strip-ansi": "^6.0.0",
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 513791c

Please sign in to comment.