rimiti/react-native-toastify

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "@rimiti/react-native-toastify",
  "description": "React Native cross-plateform (iOS/Android) toast notification component highly customizable.",
  "version": "1.4.0",
  "author": "Dimitri DO BAIRRO <dimitri.dobairro@dimsolution.com>",
  "homepage": "https://github.com/rimiti/react-native-toastify/blob/master/README.md",
  "main": "dist/index.js",
  "types": "index.d.ts",
  "license": "MIT",
  "scripts": {
    "clean": "rm -rf coverage dist tmp",
    "prepublishOnly": "npm run build",
    "lint": "eslint .",
    "pretest": "yarn add react@16.13.1 react-dom@16.13.1 react-native@0.63.2",
    "test": "npm run test-only",
    "test-only": "jest --coverage --detectOpenHandles --forceExit",
    "test:watch": "jest --watch",
    "build": "babel src/ -d dist/",
    "build:watch": "babel --watch src/ -d dist/"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/rimiti/react-native-toastify.git"
  },
  "keywords": [
    "toast",
    "toastify",
    "popup",
    "notification",
    "react-native toast",
    "react-native notification",
    "react-native modal",
    "react-native cross toast",
    "react-native",
    "react-native-toastify",
    "react-component",
    "ios",
    "android"
  ],
  "dependencies": {
    "prop-types": "15.x"
  },
  "peerDependencies": {
    "react": "16.x",
    "react-dom": "16.x",
    "react-native": ">= 0.56 < 1"
  },
  "devDependencies": {
    "@babel/cli": "7.10.5",
    "@babel/plugin-proposal-class-properties": "7.10.4",
    "@babel/preset-env": "7.11.0",
    "babel-eslint": "10.1.0",
    "babel-jest": "26.2.2",
    "babel-preset-react-native": "^4.0.1",
    "enzyme": "3.11.0",
    "enzyme-adapter-react-16": "1.15.2",
    "eslint": "7.6.0",
    "eslint-config-airbnb": "18.2.0",
    "eslint-plugin-import": "2.22.0",
    "eslint-plugin-jsx-a11y": "6.3.1",
    "eslint-plugin-react": "7.20.5",
    "jest": "26.2.2",
    "jest-react-native": "^18.0.0",
    "metro-react-native-babel-preset": "0.61.0",
    "react-test-renderer": "16.13.1",
    "schedule": "^0.5.0"
  },
  "jest": {
    "setupFiles": [
      "./config/enzyme.js"
    ],
    "preset": "react-native",
    "coverageThreshold": {
      "global": {
        "branches": 90,
        "functions": 90,
        "lines": 95,
        "statements": 96
      }
    },
    "moduleFileExtensions": [
      "js"
    ],
    "coverageDirectory": "coverage",
    "collectCoverageFrom": [
      "src/**/*.js"
    ]
  }
}