SumOfUs/Champaign

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "scripts": {
    "test": "jest",
    "test:watch": "jest --watch",
    "test:update_snapshot": "jest --updateSnapshot"
  },
  "dependencies": {
    "@babel/preset-react": "^7.0.0",
    "@rails/webpacker": "^4.0.7",
    "@sentry/browser": "^5.5.0",
    "@types/react": "^16.8.22",
    "@types/react-dom": "^16.8.4",
    "babel-plugin-transform-react-remove-prop-types": "^0.4.24",
    "backbone": "^1.4.0",
    "braintree-web": "^3.52.0",
    "c3": "^0.7.1",
    "classnames": "^2.2.6",
    "cookieconsent": "^3.1.1",
    "copy-text-to-clipboard": "^2.1.0",
    "core-js": "^3.1.4",
    "dotenv": "^8.0.0",
    "draft-js": "0.11.7",
    "draft-js-export-html": "^1.3.3",
    "draft-js-import-html": "^1.3.3",
    "eventemitter3": "^4.0.0",
    "fetch-ponyfill": "^6.1.0",
    "flat": "^4.1.0",
    "html-to-text": "^6.0.0",
    "i18n-js": "^3.3.0",
    "intl": "^1.2.5",
    "ismobilejs": "^0.5.2",
    "jquery-sticky": "^1.0.4",
    "jquery-typeahead": "^2.10.6",
    "jquery-ui-dist": "^1.12.1",
    "jquery-ujs": "^1.2.2",
    "js-cookie": "^2.2.0",
    "libphonenumber-js": "^1.7.20",
    "lodash": "^4.17.13",
    "mailcheck": "^1.1.1",
    "memoize-one": "^5.1.1",
    "moment": "^2.24.0",
    "prop-types": "^15.7.2",
    "query-string": "^6.8.1",
    "raven-js": "^3.27.2",
    "react": "^16.8.6",
    "react-dom": "^16.8.6",
    "react-intl": "^2.9.0",
    "react-onclickoutside": "^6.8.0",
    "react-redux": "^7.1.0",
    "react-select": "^1.2.1",
    "reactjs-popup": "^1.4.1",
    "redux": "^4.0.1",
    "redux-thunk": "^2.3.0",
    "regenerator-runtime": "^0.13.2",
    "selectize": "^0.12.6",
    "speakingurl": "^14.0.1",
    "ts-loader": "^6.0.4",
    "twitter-text": "^3.0.0",
    "typescript": "^3.5.3",
    "urijs": "^1.19.1",
    "whatwg-fetch": "^3.0.0",
    "wretch": "^1.5.2"
  },
  "devDependencies": {
    "@babel/preset-typescript": "^7.3.3",
    "@types/i18n-js": "^3.0.1",
    "@types/jest": "^24.0.15",
    "@types/jquery": "^3.3.30",
    "@types/lodash": "^4.14.134",
    "@types/react-redux": "^7.1.0",
    "@types/react-select": "^2.0.19",
    "empty": "^0.10.1",
    "enzyme": "^3.10.0",
    "enzyme-adapter-react-16": "^1.14.0",
    "enzyme-to-json": "^3.3.5",
    "faker": "^4.1.0",
    "husky": "^2.5.0",
    "jest": "^24.8.0",
    "jquery": "^3.4.1",
    "lint-staged": "^8.2.1",
    "prettier": "^1.18.2",
    "tslint": "^5.18.0",
    "tslint-react": "^4.0.0",
    "webpack-dev-server": "^3.7.2",
    "yamljs": "^0.3.0"
  },
  "jest": {
    "moduleNameMapper": {
      "^.+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/spec/jest/FileStub.js",
      "^.+\\.s?css$": "<rootDir>/spec/jest/CSSStub.js",
      "^champaign-i18n$": "<rootDir>/spec/jest/champaign-i18n-stub.js"
    },
    "roots": [
      "<rootDir>/app/javascript"
    ],
    "testURL": "http://example.com",
    "setupFiles": [
      "<rootDir>/spec/jest/setupJest"
    ]
  },
  "lint-staged": {
    "*.{ts,tsx}": [
      "tslint -c tslint.json --fix",
      "prettier --write",
      "git add"
    ],
    "*.{js,jsx,css}": [
      "prettier --write",
      "git add"
    ],
    "*.{rb,rake}": [
      "bundle exec rubocop -a --force-exclusion",
      "git add"
    ]
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  }
}