grommet/react-desc

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "react-desc",
  "version": "4.1.3",
  "description": "Add an schema to your React components based on React PropTypes.",
  "authors": [
    "Shimrit (Shimi) Yacobi",
    "Alan Souza",
    "Bryan Jacquot",
    "Chris Carlozzi",
    "Eric Soderberg"
  ],
  "main": "lib/index.js",
  "homepage": "http://grommet.io",
  "bugs": "https://github.com/grommet/react-desc/issues",
  "license": "Apache-2.0",
  "repository": {
    "type": "git",
    "url": "https://github.com/grommet/react-desc.git"
  },
  "peerDependencies": {
    "prop-types": "15.x",
    "react": ">= 15.5.4 < 17 || 17.x.x"
  },
  "devDependencies": {
    "babel-cli": "^6.5.2",
    "babel-plugin-transform-object-rest-spread": "^6.16.0",
    "babel-preset-env": "^1.6.0",
    "babel-preset-react": "^6.16.0",
    "eslint": "^4.8.0",
    "eslint-config-airbnb": "^15.1.0",
    "eslint-plugin-import": "^2.7.0",
    "eslint-plugin-jsx-a11y": "^5.1.1",
    "eslint-plugin-react": "^7.4.0",
    "jest": "^21.2.1",
    "prop-types": "^15.6.0",
    "react": "^17.0",
    "react-test-renderer": "^17.0.0"
  },
  "scripts": {
    "build": "npm run test && npm run lint && npm run compile",
    "compile": "babel src --out-dir lib --copy-files --loose-mode",
    "lint": "eslint src && eslint __tests__",
    "test": "jest --coverage",
    "test:watch": "jest --watch --verbose",
    "test:verbose": "jest --verbose",
    "test:update": "jest -u",
    "prepublish": "npm run test && npm run build"
  },
  "jest": {
    "testEnvironment": "node"
  }
}