reactotron-react-native
Version:
A development tool to explore, inspect, and diagnose your React Native apps.
152 lines • 4.12 kB
JSON
{
"name": "reactotron-react-native",
"version": "5.2.0",
"description": "A development tool to explore, inspect, and diagnose your React Native apps.",
"author": "Infinite Red",
"license": "MIT",
"bugs": {
"url": "https://github.com/infinitered/reactotron/issues"
},
"homepage": "https://github.com/infinitered/reactotron/tree/master/lib/reactotron-react-native",
"repository": "https://github.com/infinitered/reactotron/tree/master/lib/reactotron-react-native",
"files": [
"dist",
"src"
],
"main": "./dist/commonjs/index.js",
"module": "./dist/module/index.js",
"types": "./dist/typescript/commonjs/src/index.d.ts",
"exports": {
".": {
"source": "./src/index.ts",
"types": "./dist/typescript/commonjs/src/index.d.ts",
"module": "./dist/module/index.js",
"default": "./dist/commonjs/index.js"
},
"./package.json": "./package.json"
},
"scripts": {
"test": "jest",
"test:watch": "jest --watch",
"format": "prettier '*.{js,ts,tsx,json,md,css,yml}|**/*.{js,ts,tsx,json,md,css,yml}' --config ../../.prettierrc --ignore-path ../../.prettierignore",
"format:check": "yarn format --check",
"format:write": "yarn format --write",
"prebuild": "yarn clean",
"build": "bob build",
"prebuild:dev": "yarn clean",
"build:dev": "bob build",
"clean": "rimraf dist",
"lint": "eslint src --ext .ts,.tsx",
"tsc": "tsc",
"typecheck": "tsc --noEmit --emitDeclarationOnly false",
"ci:test": "yarn test --runInBand",
"prepare": "bob build"
},
"peerDependencies": {
"react-native": ">=0.40.0"
},
"dependencies": {
"mitt": "^3.0.1",
"reactotron-core-client": "2.10.0",
"reactotron-core-contract": "0.4.0"
},
"resolutions": {
"@types/react-native": "0.72.1"
},
"devDependencies": {
"@babel/core": "^7.23.2",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-transform-react-jsx": "^7.22.15",
"@babel/preset-env": "^7.23.2",
"@babel/preset-typescript": "^7.23.2",
"@react-native-async-storage/async-storage": "^1.19.4",
"@types/jest": "^29.5.7",
"@types/node": "^18.18.8",
"@types/react": "18.2.45",
"@types/react-native": "0.72.5",
"@typescript-eslint/eslint-plugin": "^6.7.5",
"@typescript-eslint/parser": "^6.7.5",
"babel-eslint": "^10.1.0",
"babel-jest": "^29.7.0",
"eslint": "^8.53.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-n": "^16.2.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-standard": "^5.0.0",
"jest": "^29.7.0",
"npm-run-all": "4.1.5",
"prettier": "^3.0.3",
"react": "^18.2.0",
"react-native": "0.73.6",
"react-native-builder-bob": "^0.40.13",
"rimraf": "5.0.5",
"ts-jest": "^29.1.1",
"typescript": "^4.9.5"
},
"eslintConfig": {
"root": false,
"extends": [
"plugin:react/recommended"
],
"plugins": [
"react",
"react-hooks"
],
"settings": {
"react": {
"version": "detect"
}
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"no-use-before-define": 0,
"react/prop-types": 0
},
"globals": {
"__DEV__": false,
"jasmine": false,
"beforeAll": false,
"afterAll": false,
"beforeEach": false,
"afterEach": false,
"test": false,
"expect": false,
"describe": false,
"jest": false,
"it": false
}
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testMatch": [
"**/*.test.ts"
],
"modulePathIgnorePatterns": [
"<rootDir>/dist/"
]
},
"react-native-builder-bob": {
"source": "src",
"output": "dist",
"exclude": "**/*.test.{tsx,ts}",
"targets": [
"commonjs",
[
"module",
{
"esm": true
}
],
"typescript"
]
}
}