Skip to content

Commit 463b1e9

Browse files
Use Snyk to test builds for insecure dependencies
1 parent c4c7c2b commit 463b1e9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"lint-demo": "tsc -p ./demo/tsconfig.json; eslint ./demo --report-unused-disable-directives --ext .js,.ts --parser-options=project:./demo/tsconfig.json",
2525
"precommit": "pretty-quick --staged",
2626
"test": "jest --coverage",
27-
"travisci": "npm run lint && npm run test && codecov"
27+
"travisci": "npm run lint && npm run test && codecov && npx snyk test"
2828
},
2929
"jest": {
3030
"collectCoverageFrom": [
@@ -69,5 +69,6 @@
6969
},
7070
"dependencies": {
7171
"escape-string-regexp": "^1.0.0"
72-
}
72+
},
73+
"snyk": true
7374
}

0 commit comments

Comments
 (0)