Skip to content

Commit

Permalink
Merge pull request #119 from Financial-Times/add-snyk
Browse files Browse the repository at this point in the history
Add Snyk to components
  • Loading branch information
jenniferemshepherd authored Jul 1, 2019
2 parents 70b4733 + 3ab548d commit b2016eb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ jobs:
- run:
name: shared-helper / npm-store-auth-token
command: .circleci/shared-helpers/helper-npm-store-auth-token
- run: npx snyk monitor --org=customer-products --project-name=Financial-Times/n-test
- run:
name: shared-helper / npm-version-and-publish-public
command: .circleci/shared-helpers/helper-npm-version-and-publish-public
Expand Down
4 changes: 4 additions & 0 deletions .snyk
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Snyk (https://snyk.io) policy file, which patches or ignores known vulnerabilities.
version: v1.13.5
ignore: {}
patch: {}
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"test": "make test",
"precommit": "node_modules/.bin/secret-squirrel",
"commitmsg": "node_modules/.bin/secret-squirrel-commitmsg",
"prepush": "make verify -j3"
"prepush": "make verify -j3",
"prepare": "npx snyk protect || npx snyk protect -d || true"
},
"repository": {
"type": "git",
Expand All @@ -37,6 +38,7 @@
"cookie-parser": "^1.4.3",
"express": "^4.16.2",
"jest": "^22.0.6",
"jest-junit": "^5.1.0"
"jest-junit": "^5.1.0",
"snyk": "^1.168.0"
}
}

0 comments on commit b2016eb

Please sign in to comment.