Skip to content

Commit

Permalink
chore(payments): add audit-filter to npm lint scripts
Browse files Browse the repository at this point in the history
Related to issue mozilla#1128
  • Loading branch information
jaredhirsch committed Jul 22, 2019
1 parent 617db9a commit 6b2c463
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/fxa-payments-server/.nsprc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"exceptions": []
}
2 changes: 2 additions & 0 deletions packages/fxa-payments-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"lint": "npm-run-all --parallel lint:*",
"lint:eslint": "eslint .",
"lint:sass": "sass-lint -v",
"lint:deps": "npm audit --json | audit-filter --nsp-config=.nsprc --audit=-",
"start": "node server/bin/fxa-payments-server.js",
"start-dev": "concurrently -k \"PROXY_STATIC_RESOURCES_FROM='http://127.0.0.1:3032' node server/bin/fxa-payments-server.js\" \"react-scripts start\"",
"build-start-dev": "npm run build && npm run start-dev",
Expand Down Expand Up @@ -51,6 +52,7 @@
"@types/storybook__react": "^4.0.1",
"@typescript-eslint/eslint-plugin": "^1.9.0",
"@typescript-eslint/parser": "^1.9.0",
"audit-filter": "^0.4.3",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.5",
"concurrently": "^4.1.0",
Expand Down

0 comments on commit 6b2c463

Please sign in to comment.