Files

118 lines
4.2 KiB
JSON
Raw Permalink Normal View History

2018-10-01 18:15:56 +02:00
{
"name": "@testing-library/react-native",
2026-06-23 12:09:30 +02:00
"version": "14.0.1",
"description": "Simple and complete React Native testing utilities that encourage good testing practices.",
2026-05-28 10:42:32 +02:00
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "https://www.github.com/callstack/react-native-testing-library.git"
},
2026-01-20 22:44:09 +01:00
"homepage": "https://oss.callstack.com/react-native-testing-library",
2026-01-20 23:26:59 +01:00
"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)"
],
2018-10-01 18:15:56 +02:00
"license": "MIT",
2019-04-14 12:28:53 +02:00
"keywords": [
"react-native",
"react",
"test",
"integration"
],
"scripts": {
2026-05-28 10:42:32 +02:00
"clean": "del dist",
"test": "jest",
"test:ci": "jest --maxWorkers=2",
2026-01-09 18:35:05 +01:00
"test:ci:coverage": "jest --maxWorkers=2 --collectCoverage=true",
"test:codemods": "node scripts/test-codemods.mjs",
2026-05-26 17:13:41 +02:00
"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",
2026-05-29 13:27:53 +02:00
"format:check": "oxfmt --check .",
"format:fix": "oxfmt --write .",
"validate": "yarn typecheck && yarn test && yarn lint && yarn format:check",
2026-04-13 20:17:20 +02:00
"validate:examples": "yarn --cwd examples/basic validate && yarn --cwd examples/cookbook validate",
2026-05-26 17:13:41 +02:00
"validate:all": "yarn validate && yarn validate:examples && yarn docs:check && yarn --cwd website validate && yarn --cwd experiments-app validate",
2026-05-29 13:27:53 +02:00
"validate:fix": "yarn format:fix && yarn lint --fix && yarn typecheck && yarn test -u && yarn docs:generate",
2026-05-28 10:42:32 +02:00
"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",
2024-10-25 11:02:59 +02:00
"release": "release-it",
2026-05-07 17:02:25 +02:00
"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": [
2026-05-28 10:42:32 +02:00
"dist/",
"matchers.js",
"matchers.d.ts",
"pure.js",
"pure.d.ts",
2026-05-26 17:13:41 +02:00
"dont-cleanup-after-each.js",
"docs/"
],
"dependencies": {
2026-05-28 20:29:02 +02:00
"jest-matcher-utils": "^30.4.1",
2025-08-18 12:56:13 +02:00
"picocolors": "^1.1.1",
2026-05-28 20:29:02 +02:00
"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
}
},
2018-10-01 18:15:56 +02:00
"devDependencies": {
2026-05-28 20:29:02 +02:00
"@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",
2026-05-29 10:21:16 +02:00
"@eslint/compat": "^2.1.0",
2026-04-13 21:35:14 +02:00
"@eslint/js": "^10.0.1",
2026-05-28 20:29:02 +02:00
"@react-native/babel-preset": "0.85.3",
"@react-native/jest-preset": "0.85.3",
2026-05-29 10:21:16 +02:00
"@release-it/conventional-changelog": "^11.0.0",
"@relmify/jest-serializer-strip-ansi": "^1.0.2",
2025-06-20 12:57:15 +02:00
"@types/jest": "^30.0.0",
2026-05-28 20:29:02 +02:00
"@types/node": "^24.12.4",
"@types/react": "^19.2.15",
"babel-jest": "^30.4.1",
2026-04-13 20:17:20 +02:00
"babel-plugin-module-resolver": "^5.0.3",
2025-10-08 16:28:18 -07:00
"del-cli": "^7.0.0",
2026-05-28 20:29:02 +02:00
"eslint": "^10.4.0",
"jest": "^30.4.2",
2026-05-29 13:27:53 +02:00
"oxfmt": "^0.52.0",
"react": "19.2.3",
2026-05-28 20:29:02 +02:00
"react-native": "0.85.3",
"release-it": "^20.0.1",
"test-renderer": "1.2.0",
2026-05-28 20:29:02 +02:00
"tsx": "^4.22.3",
"typescript": "^6.0.3",
2026-05-29 10:21:16 +02:00
"typescript-eslint": "^8.60.0"
2018-10-01 18:15:56 +02:00
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
2026-04-13 21:35:14 +02:00
"resolutions": {
2026-05-28 20:29:02 +02:00
"@eslint/compat": "^2.1.0",
"jest-environment-node": "30.4.1"
2026-04-13 21:35:14 +02:00
},
2025-11-20 12:50:12 +01:00
"packageManager": "yarn@4.11.0",
"engines": {
"node": "^22.13.0 || >=24"
}
2018-10-01 18:15:56 +02:00
}