123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172 |
- {
- "name": "@testing-library/jest-dom",
- "version": "6.1.6",
- "description": "Custom jest matchers to test the state of the DOM",
- "main": "dist/index.js",
- "module": "dist/index.mjs",
- "exports": {
- ".": {
- "require": {
- "types": "./types/index.d.ts",
- "default": "./dist/index.js"
- },
- "import": {
- "types": "./types/index.d.ts",
- "default": "./dist/index.mjs"
- }
- },
- "./jest-globals": {
- "require": {
- "types": "./types/jest-globals.d.ts",
- "default": "./dist/jest-globals.js"
- },
- "import": {
- "types": "./types/jest-globals.d.ts",
- "default": "./dist/jest-globals.mjs"
- }
- },
- "./matchers": {
- "require": {
- "types": "./types/matchers.d.ts",
- "default": "./dist/matchers.js"
- },
- "import": {
- "types": "./types/matchers.d.ts",
- "default": "./dist/matchers.mjs"
- }
- },
- "./vitest": {
- "require": {
- "types": "./types/vitest.d.ts",
- "default": "./dist/vitest.js"
- },
- "import": {
- "types": "./types/vitest.d.ts",
- "default": "./dist/vitest.mjs"
- }
- },
- "./package.json": "./package.json"
- },
- "types": "types/index.d.ts",
- "engines": {
- "node": ">=14",
- "npm": ">=6",
- "yarn": ">=1"
- },
- "scripts": {
- "build": "rollup -c",
- "format": "kcd-scripts format",
- "lint": "kcd-scripts lint",
- "setup": "npm install && npm run validate -s",
- "test": "kcd-scripts test",
- "test:update": "npm test -- --updateSnapshot --coverage",
- "test:types": "tsc -p types/__tests__/jest && tsc -p types/__tests__/jest-globals && tsc -p types/__tests__/vitest",
- "validate": "kcd-scripts validate && npm run test:types"
- },
- "files": [
- "dist",
- "types",
- "*.d.ts",
- "jest-globals.js",
- "matchers.js",
- "vitest.js"
- ],
- "keywords": [
- "testing",
- "dom",
- "jest",
- "jsdom"
- ],
- "author": "Ernesto Garcia <gnapse@gmail.com> (http://gnapse.github.io)",
- "license": "MIT",
- "dependencies": {
- "@adobe/css-tools": "^4.3.2",
- "@babel/runtime": "^7.9.2",
- "aria-query": "^5.0.0",
- "chalk": "^3.0.0",
- "css.escape": "^1.5.1",
- "dom-accessibility-api": "^0.5.6",
- "lodash": "^4.17.15",
- "redent": "^3.0.0"
- },
- "devDependencies": {
- "@jest/globals": "^29.6.2",
- "@rollup/plugin-commonjs": "^25.0.4",
- "expect": "^29.6.2",
- "jest-environment-jsdom-sixteen": "^1.0.3",
- "jest-watch-select-projects": "^2.0.0",
- "jsdom": "^16.2.1",
- "kcd-scripts": "^14.0.0",
- "pretty-format": "^25.1.0",
- "rollup": "^3.28.1",
- "rollup-plugin-delete": "^2.0.0",
- "typescript": "^5.1.6",
- "vitest": "^0.34.1"
- },
- "peerDependencies": {
- "@jest/globals": ">= 28",
- "@types/jest": ">= 28",
- "jest": ">= 28",
- "vitest": ">= 0.32"
- },
- "peerDependenciesMeta": {
- "@jest/globals": {
- "optional": true
- },
- "@types/jest": {
- "optional": true
- },
- "jest": {
- "optional": true
- },
- "vitest": {
- "optional": true
- }
- },
- "eslintConfig": {
- "extends": "./node_modules/kcd-scripts/eslint.js",
- "parserOptions": {
- "sourceType": "module",
- "ecmaVersion": 2020
- },
- "rules": {
- "no-invalid-this": "off"
- },
- "overrides": [
- {
- "files": [
- "src/__tests__/*.js"
- ],
- "rules": {
- "max-lines-per-function": "off"
- }
- },
- {
- "files": [
- "**/*.d.ts"
- ],
- "rules": {
- "@typescript-eslint/no-empty-interface": "off",
- "@typescript-eslint/no-explicit-any": "off",
- "@typescript-eslint/no-invalid-void-type": "off",
- "@typescript-eslint/no-unused-vars": "off",
- "@typescript-eslint/triple-slash-reference": "off"
- }
- }
- ]
- },
- "eslintIgnore": [
- "node_modules",
- "coverage",
- "dist",
- "types/__tests__"
- ],
- "repository": {
- "type": "git",
- "url": "https://github.com/testing-library/jest-dom"
- },
- "bugs": {
- "url": "https://github.com/testing-library/jest-dom/issues"
- },
- "homepage": "https://github.com/testing-library/jest-dom#readme"
- }
|