UNPKG

@testing-library/react-native

Version:

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

118 lines (117 loc) 4.25 kB
{ "name": "@testing-library/react-native", "version": "14.0.1", "description": "Simple and complete React Native testing utilities that encourage good testing practices.", "main": "dist/index.js", "types": "dist/index.d.ts", "repository": { "type": "git", "url": "https://www.github.com/callstack/react-native-testing-library.git" }, "homepage": "https://oss.callstack.com/react-native-testing-library", "author": "Maciej Jastrzębski <mdjastrzebski@gmail.com> (https://github.com/mdjastrzebski), Michał Pierzchała <thymikee@gmail.com> (https://github.com/thymikee)", "contributors": [ "Augustin Le Fèvre <augustin.le-fevre@klarna.com> (https://github.com/AugustinLF)", "Pierre Zimmermann <pierrez@nam.tech> (https://github.com/pierrezimmermannbam)", "MattAgn <matthieua@bam.tech> (https://github.com/MattAgn)" ], "license": "MIT", "keywords": [ "react-native", "react", "test", "integration" ], "scripts": { "clean": "del dist", "test": "jest", "test:ci": "jest --maxWorkers=2", "test:ci:coverage": "jest --maxWorkers=2 --collectCoverage=true", "test:codemods": "node scripts/test-codemods.mjs", "docs:generate": "node scripts/generate-package-docs.mjs", "docs:check": "yarn docs:generate && git diff --exit-code -- docs", "typecheck": "tsc", "typecheck:react-19_2": "tsc -p tsconfig.react-19_2.json", "lint": "eslint src --cache", "format:check": "oxfmt --check .", "format:fix": "oxfmt --write .", "validate": "yarn typecheck && yarn test && yarn lint && yarn format:check", "validate:examples": "yarn --cwd examples/basic validate && yarn --cwd examples/cookbook validate", "validate:all": "yarn validate && yarn validate:examples && yarn docs:check && yarn --cwd website validate && yarn --cwd experiments-app validate", "validate:fix": "yarn format:fix && yarn lint --fix && yarn typecheck && yarn test -u && yarn docs:generate", "build:js": "babel src --out-dir dist --extensions \".js,.ts,.jsx,.tsx\" --source-maps --ignore \"**/__tests__/**\"", "build:ts": "tsc --build tsconfig.release.json", "build": "yarn clean && yarn build:js && yarn build:ts", "release": "release-it", "release:next": "release-it --preRelease=rc --npm.tag=next", "release:codemods": "yarn test:codemods && yarn dlx codemod@latest publish codemods/v14-async-functions && yarn dlx codemod@latest publish codemods/v14-update-deps" }, "files": [ "dist/", "matchers.js", "matchers.d.ts", "pure.js", "pure.d.ts", "dont-cleanup-after-each.js", "docs/" ], "dependencies": { "jest-matcher-utils": "^30.4.1", "picocolors": "^1.1.1", "pretty-format": "^30.4.1", "redent": "^3.0.0" }, "peerDependencies": { "jest": ">=29.0.0", "react": ">=19.0.0", "react-native": ">=0.78", "test-renderer": "^1.0.0" }, "peerDependenciesMeta": { "jest": { "optional": true } }, "devDependencies": { "@babel/cli": "^7.29.7", "@babel/core": "^7.29.7", "@babel/plugin-transform-strict-mode": "^7.29.7", "@babel/preset-env": "^7.29.7", "@babel/preset-react": "^7.29.7", "@babel/preset-typescript": "^7.29.7", "@callstack/eslint-config": "^15.0.0", "@eslint/compat": "^2.1.0", "@eslint/js": "^10.0.1", "@react-native/babel-preset": "0.85.3", "@react-native/jest-preset": "0.85.3", "@release-it/conventional-changelog": "^11.0.0", "@relmify/jest-serializer-strip-ansi": "^1.0.2", "@types/jest": "^30.0.0", "@types/node": "^24.12.4", "@types/react": "^19.2.15", "babel-jest": "^30.4.1", "babel-plugin-module-resolver": "^5.0.3", "del-cli": "^7.0.0", "eslint": "^10.4.0", "jest": "^30.4.2", "oxfmt": "^0.52.0", "react": "19.2.3", "react-native": "0.85.3", "release-it": "^20.0.1", "test-renderer": "1.2.0", "tsx": "^4.22.3", "typescript": "^6.0.3", "typescript-eslint": "^8.60.0" }, "publishConfig": { "registry": "https://registry.npmjs.org" }, "resolutions": { "@eslint/compat": "^2.1.0", "jest-environment-node": "30.4.1" }, "packageManager": "yarn@4.11.0", "engines": { "node": "^22.13.0 || >=24" } }