sospedra/mayre

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "mayre",
  "description": "Maybe render a React component, maybe not 😮",
  "version": "4.0.0",
  "main": "dist/mayre.min.js",
  "directories": {
    "test": "test"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/sospedra/mayre.git"
  },
  "keywords": [
    "mayre",
    "maybe",
    "render",
    "react",
    "component",
    "conditional"
  ],
  "author": "Ruben Sospedra",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/sospedra/mayre/issues"
  },
  "homepage": "https://github.com/sospedra/mayre#readme",
  "dependencies": {
    "prop-types": "^15.5.10"
  },
  "devDependencies": {
    "@babel/cli": "^7.7.0",
    "@babel/core": "^7.7.2",
    "@babel/preset-env": "^7.7.1",
    "@babel/preset-react": "^7.7.0",
    "@babel/register": "^7.7.0",
    "babel-jest": "^24.9.0",
    "core-js": "3",
    "enzyme": "^3.10.0",
    "enzyme-adapter-react-16": "^1.15.1",
    "jest": "^24.9.0",
    "jest-environment-enzyme": "^7.1.2",
    "jest-enzyme": "^7.1.2",
    "react": "^16.12.0",
    "react-dom": "^16.12.0",
    "react-test-renderer": "^16.12.0",
    "rollup": "^1.27.4",
    "rollup-plugin-babel": "^4.3.3",
    "rollup-plugin-commonjs": "^10.1.0",
    "rollup-plugin-node-resolve": "^5.2.0",
    "rollup-plugin-uglify": "^6.0.3",
    "standard": "^14.3.1",
    "uglify-es": "^3.3.9"
  },
  "peerDependencies": {
    "react": "^16.0.0-0"
  },
  "standard": {
    "ignore": "demo"
  },
  "jest": {
    "setupFilesAfterEnv": [
      "jest-enzyme"
    ],
    "testEnvironment": "enzyme",
    "testPathIgnorePatterns": [
      "<rootDir>/demo"
    ]
  },
  "scripts": {
    "build": "rollup -c",
    "prepublish": "npm run build",
    "pretest": "npm run build",
    "test": "npm run test:style && npm run test:unit",
    "test:style": "standard",
    "test:unit": "jest --collectCoverage"
  }
}