react-native-error-boundary
Version:
A simple and reusable React-Native error boundary component
129 lines (128 loc) • 3.36 kB
JSON
{
"name": "react-native-error-boundary",
"version": "2.0.0",
"description": "A simple and reusable React-Native error boundary component",
"main": "lib/index.js",
"files": [
"src",
"lib",
"README.md"
],
"react-native": "src/index.tsx",
"types": "lib/index.d.ts",
"scripts": {
"build": "tsc",
"typecheck": "tsc --noEmit",
"lint": "eslint ./src && prettier --check ./src",
"test": "jest",
"prepare": "husky install",
"version:patch": "pnpm version patch -m \"🔖 %s\"",
"version:minor": "pnpm version minor -m \"🔖 %s\"",
"version:major": "pnpm version major -m \"🔖 %s\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/carloscuesta/react-native-error-boundary.git"
},
"keywords": [
"react-native",
"error",
"error boundary",
"error handler",
"componentDidCatch"
],
"author": {
"name": "carloscuesta",
"email": "hi@carloscuesta.me",
"url": "https://carloscuesta.me"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/carloscuesta/react-native-error-boundary/issues"
},
"homepage": "https://github.com/carloscuesta/react-native-error-boundary",
"peerDependencies": {
"@types/react-native": ">=0.57.7",
"react": ">=16.6.0",
"react-native": ">=0.57.7"
},
"peerDependenciesMeta": {
"@types/react-native": {
"optional": true
}
},
"devDependencies": {
"@babel/core": "^7.26.9",
"@babel/preset-env": "^7.26.9",
"@react-native/babel-preset": "0.78.0",
"@testing-library/jest-native": "5.4.3",
"@testing-library/react-native": "13.1.0",
"@types/jest": "^29.5.14",
"@types/react": "19.0.10",
"@types/react-test-renderer": "^19.0.0",
"@typescript-eslint/eslint-plugin": "^8.25.0",
"@typescript-eslint/parser": "^8.25.0",
"eslint": "^8.57.1",
"eslint-import-resolver-typescript": "^3.8.3",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.11.0",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-native": "^5.0.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^15.4.3",
"metro-babel-register": "^0.81.2",
"prettier": "^3.5.2",
"react": "^19.0.0",
"react-native": "^0.78.0",
"react-test-renderer": "^19.0.0",
"ts-node": "10.9.2",
"typescript": "^5.8.2"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"env": {
"jest": true,
"react-native/react-native": true
},
"plugins": [
"react",
"react-native",
"import",
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:import/errors",
"plugin:import/react-native",
"plugin:import/typescript"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module",
"requireConfigFile": false
},
"settings": {
"react": {
"version": "detect"
},
"import/ignore": [
"react-native"
]
}
},
"prettier": {
"semi": false,
"singleQuote": true,
"arrowParens": "always"
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
},
"packageManager": "pnpm@10.0.0"
}