UNPKG

2.52 kBJSONView Raw
1{
2 "name": "@testing-library/react",
3 "version": "10.4.5",
4 "description": "Simple and complete React DOM testing utilities that encourage good testing practices.",
5 "main": "dist/index.js",
6 "types": "types/index.d.ts",
7 "module": "dist/@testing-library/react.esm.js",
8 "engines": {
9 "node": ">=10"
10 },
11 "scripts": {
12 "prebuild": "rimraf dist",
13 "build": "npm-run-all --parallel build:main build:bundle:main build:bundle:pure",
14 "build:bundle:main": "dotenv -e .bundle.main.env kcd-scripts build -- --bundle --no-clean",
15 "build:bundle:pure": "dotenv -e .bundle.main.env -e .bundle.pure.env kcd-scripts build -- --bundle --no-clean",
16 "build:main": "kcd-scripts build --no-clean",
17 "lint": "kcd-scripts lint",
18 "setup": "npm install && npm run validate -s",
19 "test": "kcd-scripts test",
20 "test:update": "npm test -- --updateSnapshot --coverage",
21 "typecheck": "dtslint ./types/",
22 "validate": "kcd-scripts validate"
23 },
24 "files": [
25 "dist",
26 "dont-cleanup-after-each.js",
27 "pure.js",
28 "pure.d.ts",
29 "types"
30 ],
31 "keywords": [
32 "testing",
33 "react",
34 "ui",
35 "dom",
36 "jsdom",
37 "unit",
38 "integration",
39 "functional",
40 "end-to-end",
41 "e2e"
42 ],
43 "author": "Kent C. Dodds <me@kentcdodds.com> (https://kentcdodds.com)",
44 "license": "MIT",
45 "dependencies": {
46 "@babel/runtime": "^7.10.3",
47 "@testing-library/dom": "^7.17.1",
48 "semver": "^7.3.2"
49 },
50 "devDependencies": {
51 "@testing-library/jest-dom": "^5.10.1",
52 "@types/react-dom": "^16.9.8",
53 "dotenv-cli": "^3.1.0",
54 "dtslint": "3.6.12",
55 "kcd-scripts": "^6.2.3",
56 "npm-run-all": "^4.1.5",
57 "react": "^16.13.1",
58 "react-dom": "^16.13.1",
59 "rimraf": "^3.0.2",
60 "typescript": "^3.9.5"
61 },
62 "peerDependencies": {
63 "react": "*",
64 "react-dom": "*"
65 },
66 "eslintConfig": {
67 "extends": "./node_modules/kcd-scripts/eslint.js",
68 "rules": {
69 "react/prop-types": "off",
70 "react/no-adjacent-inline-elements": "off",
71 "import/no-unassigned-import": "off",
72 "import/named": "off",
73 "testing-library/no-dom-import": "off"
74 }
75 },
76 "eslintIgnore": [
77 "node_modules",
78 "coverage",
79 "dist",
80 "*.d.ts"
81 ],
82 "repository": {
83 "type": "git",
84 "url": "https://github.com/testing-library/react-testing-library"
85 },
86 "bugs": {
87 "url": "https://github.com/testing-library/react-testing-library/issues"
88 },
89 "homepage": "https://github.com/testing-library/react-testing-library#readme"
90}