1 | {
|
2 | "name": "@testing-library/react",
|
3 | "version": "16.0.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": ">=18"
|
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 | },
|
50 | "devDependencies": {
|
51 | "@testing-library/dom": "^10.0.0",
|
52 | "@testing-library/jest-dom": "^5.11.6",
|
53 | "@types/react": "^18.3.1",
|
54 | "@types/react-dom": "^18.3.0",
|
55 | "chalk": "^4.1.2",
|
56 | "dotenv-cli": "^4.0.0",
|
57 | "jest-diff": "^29.7.0",
|
58 | "kcd-scripts": "^13.0.0",
|
59 | "npm-run-all": "^4.1.5",
|
60 | "react": "^18.3.1",
|
61 | "react-dom": "^18.3.0",
|
62 | "rimraf": "^3.0.2",
|
63 | "typescript": "^4.1.2"
|
64 | },
|
65 | "peerDependencies": {
|
66 | "@testing-library/dom": "^10.0.0",
|
67 | "@types/react": "^18.0.0",
|
68 | "@types/react-dom": "^18.0.0",
|
69 | "react": "^18.0.0",
|
70 | "react-dom": "^18.0.0"
|
71 | },
|
72 | "peerDependenciesMeta": {
|
73 | "@types/react": {
|
74 | "optional": true
|
75 | },
|
76 | "@types/react-dom": {
|
77 | "optional": true
|
78 | }
|
79 | },
|
80 | "eslintConfig": {
|
81 | "extends": "./node_modules/kcd-scripts/eslint.js",
|
82 | "parserOptions": {
|
83 | "ecmaVersion": 2022
|
84 | },
|
85 | "globals": {
|
86 | "globalThis": "readonly"
|
87 | },
|
88 | "rules": {
|
89 | "react/prop-types": "off",
|
90 | "react/no-adjacent-inline-elements": "off",
|
91 | "import/no-unassigned-import": "off",
|
92 | "import/named": "off",
|
93 | "testing-library/no-container": "off",
|
94 | "testing-library/no-debugging-utils": "off",
|
95 | "testing-library/no-dom-import": "off",
|
96 | "testing-library/no-unnecessary-act": "off",
|
97 | "testing-library/prefer-explicit-assert": "off",
|
98 | "testing-library/prefer-find-by": "off",
|
99 | "testing-library/prefer-user-event": "off"
|
100 | }
|
101 | },
|
102 | "eslintIgnore": [
|
103 | "node_modules",
|
104 | "coverage",
|
105 | "dist",
|
106 | "*.d.ts"
|
107 | ],
|
108 | "repository": {
|
109 | "type": "git",
|
110 | "url": "https://github.com/testing-library/react-testing-library"
|
111 | },
|
112 | "bugs": {
|
113 | "url": "https://github.com/testing-library/react-testing-library/issues"
|
114 | },
|
115 | "homepage": "https://github.com/testing-library/react-testing-library#readme"
|
116 | }
|