UNPKG

react-native-redux-file-logger

Version:

This tool allows you to log Redux actions + state to files. It also provides a convenient API for file logging, so that you can add your own loggers (e.g. navigation state).

150 lines (149 loc) 4.59 kB
{ "name": "react-native-redux-file-logger", "version": "0.2.0", "description": "This tool allows you to log Redux actions + state to files. It also provides a convenient API for file logging, so that you can add your own loggers (e.g. navigation state).", "main": "lib/commonjs/index", "module": "lib/module/index", "types": "lib/typescript/index.d.ts", "react-native": "src/index", "source": "src/index", "files": [ "src", "lib", "android", "ios", "cpp", "*.podspec", "!lib/typescript/example", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "test": "jest", "typescript": "tsc --noEmit", "lint": "eslint \"**/*.{js,ts,tsx}\"", "prepare": "bob build", "release": "release-it", "example": "yarn --cwd example", "bootstrap": "yarn example && yarn install && yarn example pods", "prettier": "npx prettier --write .", "preinstall": "npm install --package-lock-only --ignore-scripts && npx npm-force-resolutions" }, "keywords": [ "react-native", "ios", "android", "redux", "logger", "redux-logger", "middleware", "file-logger", "native" ], "repository": "https://github.com/KirillRodichev/react-native-redux-file-logger", "author": "kirill-rodichev <kirill.rodichev38@gmail.com> (https://github.com/KirillRodichev)", "license": "MIT", "bugs": { "url": "https://github.com/KirillRodichev/react-native-redux-file-logger/issues" }, "homepage": "https://github.com/KirillRodichev/react-native-redux-file-logger#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@arkweid/lefthook": "^0.7.7", "@commitlint/config-conventional": "^17.0.2", "@react-native-community/eslint-config": "^3.0.2", "@release-it/conventional-changelog": "^5.0.0", "@types/jest": "^28.1.2", "@types/react": "~17.0.21", "@types/react-native": "0.70.0", "@typescript-eslint/eslint-plugin": "^5.43.0", "@typescript-eslint/parser": "^5.43.0", "babel-eslint": "^10.1.0", "commitlint": "^17.0.2", "eslint": "8.22.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-prettier": "^8.5.0", "eslint-config-standard-with-typescript": "^23.0.0", "eslint-plugin-babel": "^5.3.1", "eslint-plugin-import": "^2.26.0", "eslint-plugin-n": "^15.5.1", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-promise": "^6.1.1", "eslint-plugin-react": "^7.31.11", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-native": "^4.0.0", "jest": "^28.1.1", "pod-install": "^0.1.0", "prettier": "2.7.1", "react": "18.1.0", "react-native": "0.70.4", "react-native-builder-bob": "^0.20.0", "release-it": "^15.0.0", "typescript": "^4.9.3" }, "resolutions": { "@types/react": "17.0.21" }, "peerDependencies": { "react": "*", "react-native": "*" }, "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "release-it": { "git": { "commitMessage": "chore: release ${version}", "tagName": "v${version}" }, "npm": { "publish": true }, "github": { "release": true }, "plugins": { "@release-it/conventional-changelog": { "preset": "angular" } } }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", [ "typescript", { "project": "tsconfig.build.json" } ] ] }, "dependencies": { "deep-object-diff": "^1.1.7", "redux": "^4.2.0", "redux-thunk": "^2.4.2" } }