apjames93/rff-wrapper

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "rff-wrapper",
  "version": "1.0.33",
  "description": "react-final-form wrapper",
  "author": "apjames93",
  "license": "MIT",
  "main": "dist/index.js",
  "module": "dist/index.js",
  "repository": {
    "type": "git",
    "url": "apjames93/rff-wrapper.git"
  },
  "files": [
    "dist"
  ],
  "eslintConfig": {
    "extends": "airbnb",
    "parser": "babel-eslint",
    "plugins": [
      "import"
    ],
    "settings": {
      "import/resolver": {
        "node": {
          "extensions": [
            ".js",
            ".jsx"
          ],
          "paths": [
            "src"
          ]
        }
      }
    },
    "env": {
      "jest": true
    },
    "globals": {
      "document": false,
      "window": true
    },
    "rules": {
      "react/destructuring-assignment": [
        0,
        {
          "extensions": [
            ".jsx"
          ]
        }
      ],
      "import/no-named-as-default": [
        0
      ],
      "import/no-extraneous-dependencies": [
        0,
        {
          "devDependencies": true
        }
      ],
      "react/prefer-stateless-function": [
        0,
        {
          "ignorePureComponents": true
        }
      ],
      "react/jsx-filename-extension": [
        1,
        {
          "extensions": [
            ".js",
            ".jsx"
          ]
        }
      ],
      "react/jsx-tag-spacing": [
        1
      ],
      "jsx-a11y/label-has-for": [
        1
      ],
      "react/jsx-boolean-value": [
        0
      ],
      "react/no-array-index-key": [
        0
      ]
    }
  },
  "jest": {
    "collectCoverageFrom": [
      "src/**/*.{js,jsx}",
      "!src/styleguide/*",
      "!src/index.js",
      "!src/examples/**"
    ],
    "coverageReporters": [
      "lcov",
      "text"
    ]
  },
  "devDependencies": {
    "@babel/cli": "^7.0.0",
    "@babel/core": "^7.0.0",
    "@babel/plugin-transform-runtime": "^7.10.5",
    "@babel/preset-env": "^7.10.2",
    "@babel/preset-react": "^7.10.1",
    "@babel/runtime": "^7.10.2",
    "@material-ui/core": "^4.9.4",
    "@material-ui/icons": "^3.0.2",
    "babel-loader": "^8.1.0",
    "babel-polyfill": "^6.26.0",
    "eslint-config-airbnb": "^17.1.0",
    "final-form": "^4.19.1",
    "final-form-arrays": "^3.0.2",
    "node-sass": "^4.13.1",
    "prop-types": "^15.5.4",
    "react": "^16.13.1",
    "react-dom": "^16.13.1",
    "react-dropzone": "^11.0.1",
    "react-final-form": "^6.4.0",
    "react-hot-loader": "3.0.0-beta.5",
    "react-scripts": "3.4.1",
    "react-styleguidist": "^11.0.4",
    "react-test-renderer": "^16.3.2",
    "sinon": "^9.0.2"
  },
  "peerDependencies": {
    "react-hot-loader": "3.0.0-beta.5",
    "@material-ui/core": "^4.9.4",
    "@material-ui/icons": "^3.0.2",
    "node-sass": "^4.13.1",
    "final-form": "^4.19.1",
    "final-form-arrays": "^3.0.2",
    "react-final-form": "^6.4.0",
    "react-dropzone": "^11.0.1",
    "prop-types": "^15.5.4",
    "react": "^16.13.1",
    "react-dom": "^16.13.1",
    "react-scripts": "3.4.1"
  },
  "scripts": {
    "start": "react-scripts start",
    "build-examples": "react-scripts build",
    "test": "react-scripts test --env=jsdom",
    "eject": "react-scripts eject",
    "delete-test-from-dist": "del dist/**/**/*.test.js && del dist/**/**/*__snapshots__",
    "delete-md-from-dist": "del dist/**/**/*.md",
    "build-app": "babel src/lib --out-dir dist --copy-files && npm run delete-test-from-dist && npm run delete-md-from-dist",
    "build": "NODE_ENV=production rm -rf dist && npm run build-app",
    "publish-npm": "npm run build && npm publish",
    "test-ci": "react-scripts test --env=jsdom --coverage --runInBand --testPathPattern=src/lib/components",
    "styleguide": "npx styleguidist server",
    "styleguide:build": "npx styleguidist build",
    "deploy-style-guide": "npm run styleguide:build && aws s3 sync styleguide/ s3://rff-wrapper-style-guide.com/ --delete",
    "test-report": "react-scripts test --watchAll=false --coverage"
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  },
  "dependencies": {
    "@material-ui/core": "^4.9.4",
    "@material-ui/icons": "^3.0.2",
    "@unicef/material-ui-currency-textfield": "^0.8.6",
    "del-cli": "^3.0.1",
    "enzyme": "^3.11.0",
    "enzyme-adapter-react-16": "^1.15.2",
    "final-form": "^4.19.1",
    "final-form-arrays": "^3.0.2",
    "moxios": "^0.4.0",
    "node-sass": "^4.13.1",
    "react-dropzone": "^11.0.1",
    "react-final-form": "^6.4.0",
    "react-final-form-arrays": "^3.1.1",
    "react-router-dom": "^4.3.1",
    "react-swipeable-views": "^0.13.9",
    "react-telephone-input": "^5.0.0",
    "storyblok-migrate": "^0.3.3"
  }
}