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

chore: snyk integration testing #841

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
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, patches or ignores known vulnerabilities.
version: v1.10.1
ignore: {}
patch: {}
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# ✨ :us: OperationCode Frontend :us: ✨

-------

[![Build Status](https://travis-ci.org/OperationCode/operationcode_frontend.svg?branch=master)](https://travis-ci.org/OperationCode/operationcode_frontend)
[![PRs Welcome][prs-badge]][prs]

![BrowserStack Status](https://www.browserstack.com/automate/badge.svg?badge_key=<badge_key>)
[![Known Vulnerabilities](https://snyk.io/test/github/OperationCode/operationcode_frontend/badge.svg)](https://snyk.io/test/github/OperationCode/operationcode_frontend)

[prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=social-square
[prs]: http://makeapullrequest.com

Expand Down
17 changes: 10 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@storybook/addon-actions": "^3.2.11",
"@storybook/addon-links": "^3.2.10",
"@storybook/cli": "^3.2.10",
"@storybook/react": "^3.2.11",
"@storybook/addon-actions": "^3.4.0-alpha.5",
"@storybook/addon-links": "^3.4.0-alpha.5",
"@storybook/cli": "^3.4.0-alpha.5",
"@storybook/react": "^3.4.0-alpha.5",
"axios": "^0.16.1",
"classnames": "^2.2.5",
"dateformat": "^2.0.0",
Expand Down Expand Up @@ -73,6 +73,7 @@
"prettier-eslint-cli": "^4.4.0",
"promise": "7.1.1",
"react-dev-utils": "^3.0.0",
"snyk": "^1.69.1",
"style-loader": "0.13.1",
"sw-precache-webpack-plugin": "0.9.1",
"url-loader": "0.5.7",
Expand All @@ -85,15 +86,16 @@
"start": "node scripts/start.js",
"start:server": "node server",
"build": "node scripts/build.js",
"test": "node scripts/test.js --env=jsdom",
"fix": "eslint --fix \"src/**/*.js\"",
"format": "prettier-eslint \"src/**/*.js\"",
"test": "node scripts/test.js --env=jsdom",
"lint": "eslint \"src/**/*.js\"",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"backend": "./bin/run_backend.sh",
"validate": "npm ls",
"image-size": "node scripts/imageSize.js"
"image-size": "node scripts/imageSize.js",
"snyk-protect": "snyk protect"
},
"jest": {
"moduleDirectories": ["node_modules", "src"],
Expand All @@ -119,5 +121,6 @@
"presets": ["react-app"]
},
"homepage": "http://frontend.operationcode.org/",
"pre-commit": ["fix", "format", "lint", "image-size"]
"pre-commit": ["fix", "format", "lint", "image-size", "snyk-protect"],
"snyk": true
}
Loading