mirror of
https://github.com/callstack/react-native-testing-library.git
synced 2026-09-18 23:09:04 +08:00
81 lines
2.3 KiB
JSON
81 lines
2.3 KiB
JSON
{
|
|
"name": "@testing-library/react-native",
|
|
"version": "7.2.0",
|
|
"description": "Simple and complete React Native testing utilities that encourage good testing practices.",
|
|
"main": "build/index.js",
|
|
"typings": "./typings/index.d.ts",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://www.github.com/callstack/react-native-testing-library.git"
|
|
},
|
|
"homepage": "https://callstack.github.io/react-native-testing-library",
|
|
"author": "Michał Pierzchała <thymikee@gmail.com>",
|
|
"license": "MIT",
|
|
"private": false,
|
|
"keywords": [
|
|
"react-native",
|
|
"react",
|
|
"test",
|
|
"integration"
|
|
],
|
|
"files": [
|
|
"build/",
|
|
"typings/index.d.ts",
|
|
"pure.js",
|
|
"dont-cleanup-after-each.js"
|
|
],
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.8.4",
|
|
"@babel/core": "^7.9.0",
|
|
"@babel/plugin-proposal-class-properties": "^7.8.3",
|
|
"@babel/preset-env": "^7.9.6",
|
|
"@babel/preset-flow": "^7.9.0",
|
|
"@babel/preset-react": "^7.9.4",
|
|
"@callstack/eslint-config": "^10.0.0",
|
|
"@release-it/conventional-changelog": "^2.0.0",
|
|
"@testing-library/jest-native": "~3.4.3",
|
|
"@types/react": "^17.0.0",
|
|
"@types/react-native": "^0.63.0",
|
|
"@types/react-test-renderer": "^17.0.0",
|
|
"babel-jest": "^26.0.1",
|
|
"conventional-changelog-cli": "^2.0.11",
|
|
"dedent": "^0.7.0",
|
|
"eslint": "^7.0.0",
|
|
"flow-bin": "^0.141.0",
|
|
"flow-copy-source": "^2.0.9",
|
|
"jest": "^26.0.1",
|
|
"react": "^17.0.1",
|
|
"react-native": "^0.64.0-rc.1",
|
|
"react-test-renderer": "^17.0.1",
|
|
"release-it": "^14.0.3",
|
|
"strip-ansi": "^6.0.0",
|
|
"typescript": "^4.0.2"
|
|
},
|
|
"dependencies": {
|
|
"pretty-format": "^26.0.1"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=16.0.0",
|
|
"react-native": ">=0.59",
|
|
"react-test-renderer": ">=16.0.0"
|
|
},
|
|
"scripts": {
|
|
"test": "jest",
|
|
"flow-check": "flow check",
|
|
"typescript-check": "tsc --noEmit --skipLibCheck --jsx react ./typings/__tests__/*",
|
|
"lint": "eslint src --cache",
|
|
"release": "release-it",
|
|
"prepublish": "yarn build && yarn copy-flowtypes",
|
|
"copy-flowtypes": "flow-copy-source --ignore __tests__/*.js src build",
|
|
"build": "rm -rf build; babel src --out-dir build --ignore 'src/__tests__/*'"
|
|
},
|
|
"jest": {
|
|
"preset": "react-native",
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"json"
|
|
],
|
|
"rootDir": "./src"
|
|
}
|
|
}
|