UNPKG

react-testing-library

Version:

Simple and complete React DOM testing utilities that encourage good testing practices.

93 lines (92 loc) 2.36 kB
{ "name": "react-testing-library", "version": "7.0.0", "description": "Simple and complete React DOM testing utilities that encourage good testing practices.", "main": "dist/index.js", "module": "dist/react-testing-library.esm.js", "typings": "typings/index.d.ts", "engines": { "node": ">=8" }, "scripts": { "build": "kcd-scripts build && kcd-scripts build --bundle --no-clean", "lint": "kcd-scripts lint", "test": "kcd-scripts test --config=other/jest.config.js", "test:update": "npm test -- --updateSnapshot --coverage", "validate": "kcd-scripts validate", "setup": "npm install && npm run validate -s" }, "husky": { "hooks": { "pre-commit": "kcd-scripts pre-commit" } }, "files": [ "dist", "typings", "cleanup-after-each.js" ], "keywords": [ "testing", "react", "ui", "dom", "jsdom", "unit", "integration", "functional", "end-to-end", "e2e" ], "author": "Kent C. Dodds <kent@doddsfamily.us> (http://kentcdodds.com/)", "license": "MIT", "dependencies": { "@babel/runtime": "^7.4.3", "dom-testing-library": "^4.0.0" }, "devDependencies": { "@reach/router": "^1.2.1", "@types/react": "^16.8.14", "@types/react-dom": "^16.8.4", "axios": "^0.18.0", "eslint-import-resolver-jest": "^2.1.1", "history": "^4.9.0", "intl": "^1.2.5", "jest-dom": "3.1.3", "jest-in-case": "^1.0.2", "kcd-scripts": "1.2.2", "react": "^16.8.6", "react-dom": "^16.8.6", "react-intl": "^2.8.0", "react-redux": "7.0.2", "react-router": "^5.0.0", "react-router-dom": "^5.0.0", "react-transition-group": "^4.0.0", "redux": "^4.0.0" }, "peerDependencies": { "react": "*", "react-dom": "*" }, "eslintConfig": { "extends": "./node_modules/kcd-scripts/eslint.js", "rules": { "react/prop-types": "off", "import/no-unassigned-import": "off", "import/named": "off" } }, "eslintIgnore": [ "node_modules", "coverage", "dist" ], "repository": { "type": "git", "url": "https://github.com/testing-library/react-testing-library.git" }, "bugs": { "url": "https://github.com/testing-library/react-testing-library/issues" }, "homepage": "https://github.com/testing-library/react-testing-library#readme" }