UNPKG

enzyme-adapter-react-16

Version:

JavaScript Testing utilities for React

71 lines (70 loc) 1.92 kB
{ "name": "enzyme-adapter-react-16", "version": "1.15.2", "description": "JavaScript Testing utilities for React", "homepage": "https://airbnb.io/enzyme/", "main": "build", "scripts": { "clean": "rimraf build", "lint": "eslint --ext js,jsx .", "pretest": "npm run lint", "prebuild": "npm run clean", "build": "babel --source-maps=both src --out-dir build", "watch": "npm run build -- -w", "prepublish": "npm run build && safe-publish-latest && (not-in-publish || cp ../../{LICENSE,README}.md ./)" }, "repository": { "type": "git", "url": "https://github.com/airbnb/enzyme.git", "directory": "packages/enzyme-adapter-react-16" }, "keywords": [ "javascript", "shallow rendering", "shallowRender", "test", "reactjs", "react", "flux", "testing", "test utils", "assertion helpers", "tdd", "mocha" ], "author": "Leland Richardson <leland.richardson@airbnb.com>", "funding": { "url": "https://github.com/sponsors/ljharb" }, "license": "MIT", "dependencies": { "enzyme-adapter-utils": "^1.13.0", "enzyme-shallow-equal": "^1.0.1", "has": "^1.0.3", "object.assign": "^4.1.0", "object.values": "^1.1.1", "prop-types": "^15.7.2", "react-is": "^16.12.0", "react-test-renderer": "^16.0.0-0", "semver": "^5.7.0" }, "peerDependencies": { "enzyme": "^3.0.0", "react": "^16.0.0-0", "react-dom": "^16.0.0-0" }, "devDependencies": { "babel-cli": "^6.26.0", "babel-plugin-transform-replace-object-assign": "^1.0.0", "babel-preset-airbnb": "^2.6.0", "enzyme": "^3.0.0", "eslint": "^6.7.2", "eslint-config-airbnb": "^18.0.1", "eslint-plugin-import": "^2.19.1", "eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-react": "^7.17.0", "in-publish": "^2.0.0", "rimraf": "^2.6.3", "safe-publish-latest": "^1.1.4" } }