@backpackapp-io/react-native-toast
Version:
A toasting library for React Native. Built in features such as swipe to dismiss, multiple toasts, & no context power this library.
178 lines (177 loc) • 4.66 kB
JSON
{
"name": "@backpackapp-io/react-native-toast",
"version": "0.14.0",
"description": "A toasting library for React Native. Built in features such as swipe to dismiss, multiple toasts, & no context power this library.",
"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-toast.podspec",
"!lib/typescript/example",
"!android/build",
"!ios/build",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__"
],
"scripts": {
"test": "jest --silent",
"test:watch": "jest --watch",
"typescript": "tsc --noEmit",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"prepare": "bob build",
"release": "release-it",
"example": "yarn --cwd example",
"bootstrap": "yarn example && yarn"
},
"keywords": [
"react-native",
"ios",
"android",
"web",
"toast"
],
"repository": "https://github.com/backpackapp-io/react-native-toast.git",
"author": "Nick DeBaise <nickdebaise@gmail.com> (https://github.com/nickdebaise)",
"license": "MIT",
"bugs": {
"url": "https://github.com/backpackapp-io/react-native-toast.git/issues"
},
"homepage": "https://github.com/backpackapp-io/react-native-toast.git#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"devDependencies": {
"@arkweid/lefthook": "^0.7.7",
"@babel/core": "^7.26.0",
"@babel/eslint-parser": "^7.18.2",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@babel/plugin-transform-flow-strip-types": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/preset-typescript": "^7.26.0",
"@babel/runtime": "^7.26.0",
"@commitlint/config-conventional": "^17.0.2",
"@react-native-community/eslint-config": "^3.0.2",
"@release-it/conventional-changelog": "^9.0.3",
"@testing-library/jest-native": "^5.4.3",
"@testing-library/react-native": "^12.8.1",
"@types/invariant": "^2.2.37",
"@types/jest": "^29.5.14",
"@types/react": "^18.3.12",
"@types/react-test-renderer": "^18.3.0",
"babel-jest": "^29.7.0",
"commitlint": "^17.0.2",
"eslint": "^8.4.1",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"jest": "^29.7.0",
"metro-react-native-babel-preset": "^0.77.0",
"pod-install": "^0.1.0",
"prettier": "^2.0.5",
"react": "^18.3.1",
"react-native": "0.75.2",
"react-native-builder-bob": "^0.33.1",
"react-native-gesture-handler": "^2.21.2",
"react-native-reanimated": "^3.16.2",
"react-native-safe-area-context": "^4.14.0",
"react-test-renderer": "^18.3.1",
"release-it": "^17.10.0",
"ts-jest": "^29.2.5",
"typescript": "^5.6.3"
},
"resolutions": {
"@types/react": "~18.0.27"
},
"peerDependencies": {
"react": "*",
"react-native": "*",
"react-native-gesture-handler": ">=2.2.1",
"react-native-reanimated": ">=2.8.0",
"react-native-safe-area-context": ">=4.2.4"
},
"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"
}
}
},
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"extends": [
"@react-native-community",
"prettier"
],
"env": {
"jest": true
},
"rules": {
"react-native/no-inline-styles": 0,
"@typescript-eslint/no-shadow": 0,
"prettier/prettier": [
"error",
{
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
}
]
}
},
"eslintIgnore": [
"node_modules/",
"lib/",
"website/"
],
"prettier": {
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
[
"typescript",
{
"project": "tsconfig.build.json"
}
]
]
},
"dependencies": {
"@backpackapp-io/react-native-toast": "^0.13.0"
}
}