UNPKG

react-native-alert-notification

Version:
174 lines (173 loc) 4.12 kB
{ "name": "react-native-alert-notification", "version": "0.4.2", "license": "MIT", "description": "Toast notification and dialog box notification for react native", "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", "react-native-alert-notification.podspec", "!lib/typescript/example", "!android/build", "!ios/build", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__" ], "scripts": { "test": "jest", "typescript": "tsc --noEmit", "lint": "eslint \"**/*.{js,ts,tsx}\"", "prepare": "bob build", "commit": "git-cz", "release": "release-it", "example": "yarn --cwd example", "pods": "cd example && pod-install --quiet", "bootstrap": "yarn example && yarn && yarn pods" }, "keywords": [ "react-native", "ios", "android", "alert", "notification", "dialog box", "toast notification", "popup", "dialog", "modal" ], "author": "Rodolphe Jerez <contact@codingbyjerez.com> (github.com/codingbyjerez)", "repository": { "type": "git", "url": "https://github.com/CodingByJerez/react-native-alert-notification" }, "bugs": { "url": "https://github.com/CodingByJerez/react-native-alert-notification/issues" }, "homepage": "https://github.com/CodingByJerez/react-native-alert-notification#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@commitlint/config-conventional": "^11.0.0", "@react-native-community/eslint-config": "^2.0.0", "@release-it/conventional-changelog": "^2.0.0", "@types/jest": "^26.0.0", "@types/react": "^17.0.1", "@types/react-native": "0.66.0", "commitlint": "^11.0.0", "eslint": "^7.14.0", "eslint-config-prettier": "^7.0.0", "eslint-plugin-prettier": "^3.1.3", "git-cz": "^4.9.0", "husky": "^4.2.5", "jest": "^26.0.1", "pod-install": "^0.1.0", "prettier": "^2.0.5", "react": "17.0.1", "react-native": "0.66.0", "react-native-builder-bob": "^0.18.3", "react-native-safe-area-context": "^3.2.0", "release-it": "^14.2.2", "typescript": "^4.1.3" }, "peerDependencies": { "react": "*", "react-native": ">=0.62.0", "react-native-safe-area-context": "*" }, "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "husky": { "hooks": { "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", "pre-commit": "yarn lint && yarn typescript" } }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "release-it": { "git": { "commitMessage": "chore: release ${version}", "tagName": "v${version}" }, "npm": { "publish": false }, "github": { "release": true }, "plugins": { "@release-it/conventional-changelog": { "preset": "angular" } } }, "eslintConfig": { "root": true, "extends": [ "@react-native-community", "prettier" ], "rules": { "prettier/prettier": [ "error", { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false, "printWidth": 160, "endOfLine": "auto", "proseWrap": "preserve" } ] } }, "eslintIgnore": [ "node_modules/", "lib/" ], "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false, "printWidth": 160, "endOfLine": "auto", "proseWrap": "preserve" }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", [ "typescript", { "project": "tsconfig.build.json" } ] ] } }