SteveJRobertson/jam-dodger

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "jamdodger",
  "version": "0.4.0",
  "private": true,
  "devDependencies": {
    "cypress": "^2.1.0",
    "eslint": "^4.18.1",
    "eslint-config-airbnb": "^16.1.0",
    "eslint-plugin-import": "^2.9.0",
    "eslint-plugin-jsx-a11y": "^6.0.3",
    "eslint-plugin-react": "^7.7.0",
    "gh-pages": "1.1.0",
    "jest-fetch-mock": "^1.4.2",
    "npm-run-all": "^4.1.2",
    "react-scripts": "^1.1.1",
    "react-test-renderer": "^16.2.0"
  },
  "dependencies": {
    "enzyme": "^3.3.0",
    "enzyme-adapter-react-16": "^1.1.1",
    "g": "^2.0.1",
    "isomorphic-fetch": "^2.2.1",
    "jest-enzyme": "^4.2.0",
    "lodash": "^4.17.5",
    "mockdate": "^2.0.2",
    "moment": "2.20.1",
    "node-fetch": "^2.0.0",
    "node-sass-chokidar": "^1.1.0",
    "npm": "^4.6.1",
    "prop-types": "15.6.0",
    "react": "16.2.0",
    "react-dom": "16.2.0",
    "react-styleguidist": "^6.2.5",
    "semantic-ui-css": "2.3.0",
    "semantic-ui-react": "0.78.3"
  },
  "scripts": {
    "styleguide": "styleguidist server",
    "styleguide:server": "styleguidist build",
    "build-css": "node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/",
    "watch-css": "npm run build-css && node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/ --watch --recursive",
    "start-js": "react-scripts start",
    "start": "npm-run-all -p watch-css start-js",
    "build-js": "react-scripts build",
    "build": "npm-run-all build-css build-js",
    "test": "react-scripts test --env=jsdom",
    "cypress:open": "cypress open",
    "eject": "react-scripts eject",
    "predeploy": "npm run build",
    "deploy": "gh-pages -d build"
  },
  "homepage": "http://sr.digital/jam-dodger",
  "jest": {
    "collectCoverageFrom": [
      "src/**/*.{js,jsx}",
      "!src/index.js",
      "!src/registerServiceWorker.js"
    ],
    "coverageThreshold": {
      "global": {
        "branches": 90,
        "functions": 90,
        "lines": 90,
        "statements": -10
      }
    }
  }
}