UNPKG

react-native-highlight-text

Version:
162 lines (161 loc) 3.91 kB
{ "name": "react-native-highlight-text", "version": "0.2.0", "description": "A simple way to highlight text in 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", "!lib/typescript/example", "!android/build", "!ios/build", "!**/__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 && yarn example pods" }, "keywords": [ "react-native", "ios", "android", "highlight", "text highlight", "react", "text" ], "repository": "https://github.com/Mikael-Aberg/react-native-highlight-text", "author": "Mikael Åberg <Mikael-Aberg@users.noreply.github.com> (https://github.com/Mikael-Aberg)", "license": "MIT", "bugs": { "url": "https://github.com/Mikael-Aberg/react-native-highlight-text/issues" }, "homepage": "https://github.com/Mikael-Aberg/react-native-highlight-text#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@arkweid/lefthook": "0.7.7", "@babel/eslint-parser": "7.18.2", "@commitlint/config-conventional": "17.0.3", "@react-native-community/eslint-config": "3.0.3", "@release-it/conventional-changelog": "5.0.0", "@types/jest": "28.1.5", "@types/react": "17.0.47", "@types/react-native": "0.68.0", "commitlint": "17.0.3", "eslint": "8.19.0", "eslint-config-prettier": "8.5.0", "eslint-plugin-prettier": "4.2.1", "jest": "28.1.3", "pod-install": "0.1.37", "prettier": "2.7.1", "react": "17.0.2", "react-native": "0.68.2", "react-native-builder-bob": "0.18.3", "release-it": "15.1.1", "typescript": "4.7.4" }, "resolutions": { "@types/react": "17.0.47" }, "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" } } }, "eslintConfig": { "root": true, "parser": "@typescript-eslint/parser", "extends": [ "@react-native-community", "prettier" ], "plugins": [ "@typescript-eslint" ], "rules": { "prettier/prettier": [ "error", { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false } ], "no-unused-vars": "off", "@typescript-eslint/no-unused-vars": [ "error" ] } }, "eslintIgnore": [ "node_modules/", "lib/" ], "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" } ] ] } }