UNPKG

2.77 kBJSONView Raw
1{
2 "name": "@testing-library/react",
3 "version": "13.4.0",
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": ">=12"
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 "format": "kcd-scripts format",
18 "install:csb": "npm install",
19 "lint": "kcd-scripts lint",
20 "setup": "npm install && npm run validate -s",
21 "test": "kcd-scripts test",
22 "test:update": "npm test -- --updateSnapshot --coverage",
23 "typecheck": "kcd-scripts typecheck --build types",
24 "validate": "kcd-scripts validate"
25 },
26 "files": [
27 "dist",
28 "dont-cleanup-after-each.js",
29 "pure.js",
30 "pure.d.ts",
31 "types/*.d.ts"
32 ],
33 "keywords": [
34 "testing",
35 "react",
36 "ui",
37 "dom",
38 "jsdom",
39 "unit",
40 "integration",
41 "functional",
42 "end-to-end",
43 "e2e"
44 ],
45 "author": "Kent C. Dodds <me@kentcdodds.com> (https://kentcdodds.com)",
46 "license": "MIT",
47 "dependencies": {
48 "@babel/runtime": "^7.12.5",
49 "@testing-library/dom": "^8.5.0",
50 "@types/react-dom": "^18.0.0"
51 },
52 "devDependencies": {
53 "@testing-library/jest-dom": "^5.11.6",
54 "dotenv-cli": "^4.0.0",
55 "kcd-scripts": "^11.1.0",
56 "npm-run-all": "^4.1.5",
57 "react": "^18.0.0",
58 "react-dom": "^18.0.0",
59 "rimraf": "^3.0.2",
60 "typescript": "^4.1.2"
61 },
62 "peerDependencies": {
63 "react": "^18.0.0",
64 "react-dom": "^18.0.0"
65 },
66 "eslintConfig": {
67 "extends": "./node_modules/kcd-scripts/eslint.js",
68 "globals": {
69 "globalThis": "readonly"
70 },
71 "rules": {
72 "react/prop-types": "off",
73 "react/no-adjacent-inline-elements": "off",
74 "import/no-unassigned-import": "off",
75 "import/named": "off",
76 "testing-library/no-container": "off",
77 "testing-library/no-dom-import": "off",
78 "testing-library/no-unnecessary-act": "off",
79 "testing-library/prefer-user-event": "off"
80 }
81 },
82 "eslintIgnore": [
83 "node_modules",
84 "coverage",
85 "dist",
86 "*.d.ts"
87 ],
88 "repository": {
89 "type": "git",
90 "url": "https://github.com/testing-library/react-testing-library"
91 },
92 "bugs": {
93 "url": "https://github.com/testing-library/react-testing-library/issues"
94 },
95 "homepage": "https://github.com/testing-library/react-testing-library#readme"
96}