cmspsgp31/anubis

View on GitHub
anubis/frontend/package.json

Summary

Maintainability
Test Coverage
{
  "name": "anubis-react",
  "version": "1.0.0",
  "description": "Frontend for the Anubis library based on ReactJS.",
  "main": "src/main.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "Ugo Pozo",
  "license": "GPL-3.0",
  "devDependencies": {
    "babel-cli": "^6",
    "babel-core": "^6",
    "babel-loader": "^7",
    "babel-plugin-transform-class-properties": "^6",
    "babel-plugin-transform-decorators-legacy": "^1",
    "babel-plugin-transform-runtime": "^6",
    "babel-polyfill": "^6",
    "babel-preset-es2015": "^6",
    "babel-preset-react": "^6",
    "babel-preset-stage-0": "^6",
    "babel-runtime": "^6",
    "compression-webpack-plugin": "^0.4.0",
    "webpack": "^3"
  },
  "dependencies": {
    "fuse.js": "^2",
    "immutable": "^3",
    "intl": "^1",
    "json-loader": "^0.5",
    "lodash": "^4",
    "material-ui": "^0.16",
    "react": "^15",
    "react-dnd": "^2",
    "react-dnd-html5-backend": "^2",
    "react-dom": "^15",
    "react-immutable-proptypes": "^2",
    "react-motion": "^0.4",
    "react-redux": "^4",
    "react-router": "^2",
    "react-router-redux": "^2",
    "react-sticky": "^5",
    "react-tap-event-plugin": "^2",
    "reduce-reducers": "^0.1",
    "redux": "^3",
    "redux-actions": "^0.12",
    "redux-promise": "^0.5",
    "whatwg-fetch": "^1"
  },
  "babel": {
    "plugins": [
      "transform-runtime",
      "transform-decorators-legacy"
    ],
    "presets": [
      [
        "es2015",
        {
          "modules": false
        }
      ],
      "react",
      "stage-0"
    ]
  },
  "eslintConfig": {
    "extends": "eslint:recommended",
    "parser": "babel-eslint",
    "env": {
      "browser": true,
      "node": true
    },
    "rules": {
      "strict": 0,
      "comma-dangle": [
        1,
        "always-multiline"
      ],
      "semi": [
        2,
        "always"
      ],
      "prefer-const": [
        "warn",
        {
          "destructuring": "all"
        }
      ],
      "no-unused-vars": [
        "error",
        {
          "args": "none",
          "varsIgnorePattern": "^_"
        }
      ],
      "no-const-assign": "error",
      "no-var": "error",
      "array-bracket-spacing": [
        "warn",
        "never"
      ],
      "block-spacing": [
        "warn",
        "always"
      ],
      "brace-style": [
        "warn",
        "stroustrup",
        {
          "allowSingleLine": false
        }
      ],
      "comma-spacing": [
        "warn",
        {
          "before": false,
          "after": true
        }
      ],
      "computed-property-spacing": [
        "warn",
        "never"
      ],
      "key-spacing": [
        "warn",
        {
          "beforeColon": false,
          "afterColon": true
        }
      ],
      "keyword-spacing": "warn",
      "semi-spacing": [
        "warn",
        {
          "before": false,
          "after": true
        }
      ],
      "arrow-spacing": [
        "warn",
        {
          "before": true,
          "after": true
        }
      ],
      "generator-star-spacing": [
        "warn",
        {
          "before": false,
          "after": true
        }
      ],
      "template-curly-spacing": [
        "warn",
        "never"
      ],
      "yield-star-spacing": [
        "warn",
        "after"
      ],
      "indent": [
        "warn",
        4,
        {
          "SwitchCase": 1,
          "VariableDeclarator": {
            "var": 2,
            "let": 2,
            "const": 3
          }
        }
      ],
      "max-len": [
        "warn",
        80,
        4
      ],
      "react/display-name": 0,
      "react/forbid-prop-types": 0,
      "react/jsx-boolean-value": 1,
      "react/jsx-closing-bracket-location": 1,
      "react/jsx-curly-spacing": 1,
      "react/jsx-equals-spacing": 1,
      "react/jsx-handler-names": 1,
      "react/jsx-indent-props": 0,
      "react/jsx-indent": 0,
      "react/jsx-key": 1,
      "react/jsx-max-props-per-line": 1,
      "react/jsx-no-bind": 0,
      "react/jsx-no-duplicate-props": 1,
      "react/jsx-no-literals": 1,
      "react/jsx-no-undef": 1,
      "react/jsx-pascal-case": 1,
      "react/sort-prop-types": 1,
      "react/jsx-sort-props": 1,
      "react/jsx-uses-react": 1,
      "react/jsx-uses-vars": 1,
      "react/no-danger": 1,
      "react/no-deprecated": 1,
      "react/no-did-mount-set-state": 1,
      "react/no-did-update-set-state": 1,
      "react/no-direct-mutation-state": 1,
      "react/no-is-mounted": 1,
      "react/no-multi-comp": 1,
      "react/no-set-state": 0,
      "react/no-string-refs": 1,
      "react/no-unknown-property": 1,
      "react/prefer-es6-class": 1,
      "react/prop-types": 1,
      "react/react-in-jsx-scope": 1,
      "react/require-extension": 1,
      "react/self-closing-comp": 1,
      "react/sort-comp": 1,
      "react/wrap-multilines": 1
    },
    "ecmaFeatures": {
      "jsx": true,
      "forOf": true,
      "arrowFunctions": true,
      "blockBindings": true,
      "objectLiteralComputedProperties": true,
      "objectLiteralShorthandMethod": true,
      "objectLiteralShorthandProperties": true,
      "restParams": true,
      "spread": true,
      "templateStrings": true,
      "experimentalObjectRestSpread": true,
      "destructuring": true,
      "classes": true,
      "defaultParams": true,
      "modules": true
    },
    "plugins": [
      "react"
    ]
  }
}