Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Commit

Permalink
fix(deps): add filtered npm audit
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Guthe committed Oct 17, 2018
1 parent c009a56 commit 71048b3
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .nsprc
@@ -0,0 +1,4 @@
{
"exceptions": [
]
}
3 changes: 1 addition & 2 deletions .travis.yml
Expand Up @@ -49,5 +49,4 @@ script:
# Test fxa-auth-mailer
- grunt templates && git status -s | (! grep 'M lib/senders/templates/')
- grunt l10n-extract
# HACK: ignore npm audit errors for now until we get them all fixed
- npm audit || true
- npm run lint:deps
15 changes: 15 additions & 0 deletions npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Expand Up @@ -10,6 +10,7 @@
},
"scripts": {
"bump-template-versions": "node scripts/template-version-bump --silent && git add lib/senders/templates/_versions.json",
"lint:deps": "npm audit --json | audit-filter --nsp-config=.nsprc --audit=-",
"update-api-docs": "grunt newer:doc && git add docs/api.md",
"precommit": "npm run bump-template-versions && npm run update-api-docs",
"postinstall": "scripts/download_l10n.sh",
Expand Down Expand Up @@ -86,6 +87,7 @@
},
"devDependencies": {
"acorn": "5.0.3",
"audit-filter": "0.3.0",
"chai": "4.1.2",
"commander": "2.18.0",
"eslint-plugin-fxa": "git+https://github.com/mozilla/eslint-plugin-fxa#master",
Expand Down

0 comments on commit 71048b3

Please sign in to comment.