fga-eps-mds/2019.1-unbrake

View on GitHub
unbrake-frontend/package.json

Summary

Maintainability
Test Coverage
{
  "name": "unbrake-frontend",
  "version": "0.1.0",
  "private": false,
  "dependencies": {
    "@material-ui/core": "^3.9.2",
    "@material-ui/icons": "^3.0.2",
    "chart.js": "^2.8.0",
    "chartjs-plugin-streaming": "^1.8.0",
    "classnames": "^2.2.6",
    "env-cmd": "^8.0.2",
    "enzyme": "^3.9.0",
    "enzyme-adapter-react-16": "^1.11.2",
    "enzyme-to-json": "^3.3.5",
    "eslint-plugin-import": "^2.16.0",
    "eslint-plugin-jsx-a11y": "^6.2.1",
    "fetch-mock": "7.3.3",
    "history": "^4.9.0",
    "iniparser": "^1.0.5",
    "prop-types": "^15.7.2",
    "react": "^16.8.5",
    "react-chartjs-2": "^2.7.6",
    "react-dom": "^16.8.5",
    "react-redux": "^6.0.1",
    "react-router": "^5.0.0",
    "react-router-dom": "^5.0.0",
    "react-scripts": "2.1.8",
    "react-test-renderer": "^16.8.6",
    "recharts": "^1.5.0",
    "redux": "^4.0.1",
    "redux-form": "^8.1.0",
    "redux-form-material-ui": "^5.0.0-beta.3",
    "redux-thunk": "^2.3.0",
    "emitter-io": "^1.38.0",
    "universal-cookie": "3.1.0"
  },
  "proxy": "http://localhost:8080/",
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "build:staging": "env-cmd .env.staging react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject",
    "lint": "eslint 'src/**/*.{js,jsx}' --fix",
    "format": "prettier --write 'src/**/*.{js,jsx,css,scss}'",
    "fix": "npm run format && npm run lint",
    "check_lint": "eslint 'src/**/*.{js,jsx}'",
    "check_format": "prettier --check 'src/**/*.{js,jsx,css,scss}'",
    "check_tests": "./scripts/check_tests",
    "check_tests:coverage": "npm test -- -u --ci --coverage --coveragePathIgnorePatterns src/serviceWorker.js index.js src/tests --coverageReporters lcov text --coverageDirectory src/tests/coverage",
    "check_tests:coverage:html": "npm test -- -u --ci --coverage --coveragePathIgnorePatterns src/serviceWorker.js index.js src/tests --coverageReporters html text --coverageDirectory src/tests/coverage",
    "check_all": "npm run check_lint && npm run check_format && npm run check_tests:coverage"
  },
  "browserslist": [
    ">0.2%",
    "not dead",
    "not ie <= 11",
    "not op_mini all"
  ],
  "devDependencies": {
    "eslint-config-airbnb": "^17.1.0",
    "eslint-config-prettier": "^4.1.0",
    "eslint-plugin-jest": "^22.4.1",
    "eslint-plugin-prettier": "^3.0.1",
    "eslint-plugin-react": "^7.12.4",
    "husky": "^1.3.1",
    "jest": "^23.6.0",
    "jest-fetch-mock": "^2.1.2",
    "lint-staged": "^8.1.5",
    "prettier": "^1.16.4",
    "pretty-quick": "^1.10.0",
    "redux-mock-store": "^1.5.3"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged",
      "pre-push": "npm run check_tests"
    }
  },
  "lint-staged": {
    "src/**/*.{js,jsx,json,css,md}": [
      "prettier --write",
      "eslint --fix",
      "git add"
    ]
  }
}