UNPKG

react-native-markdown-renderer

Version:

Markdown renderer for react-native, with CommonMark spec support + adds syntax extensions & sugar (URL autolinking, typographer).

84 lines (83 loc) 2.19 kB
{ "name": "react-native-markdown-renderer", "version": "4.0.1", "description": "Markdown renderer for react-native, with CommonMark spec support + adds syntax extensions & sugar (URL autolinking, typographer).", "source": "src/index.tsx", "main": "lib/commonjs/index.js", "module": "lib/module/index.js", "types": "lib/typescript/index.d.ts", "files": [ "src", "lib", "!**/__tests__" ], "scripts": { "build": "bob build", "clean": "rm -rf lib", "lint": "eslint src --ext .ts,.tsx", "typecheck": "tsc --noEmit", "test": "jest", "prepare": "bob build" }, "repository": { "type": "git", "url": "git+https://github.com/mientjan/react-native-markdown-renderer.git" }, "keywords": [ "react", "react-native", "native", "markdown", "commonmark", "markdown-it", "typescript" ], "author": "Mient-jan Stelling", "license": "MIT", "bugs": { "url": "https://github.com/mientjan/react-native-markdown-renderer/issues" }, "homepage": "https://github.com/mientjan/react-native-markdown-renderer#readme", "dependencies": { "markdown-it": "^14.0.0" }, "peerDependencies": { "react": ">=18.0.0", "react-native": ">=0.73.0" }, "devDependencies": { "@react-native/babel-preset": "^0.76.0", "@testing-library/react-native": "^12.4.0", "@types/jest": "^29.5.0", "@types/markdown-it": "^14.0.0", "@types/react": "^18.2.0", "@types/react-native": "^0.73.0", "@typescript-eslint/eslint-plugin": "^7.0.0", "@typescript-eslint/parser": "^7.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-react": "^7.34.0", "eslint-plugin-react-hooks": "^4.6.0", "jest": "^29.7.0", "prettier": "^3.2.0", "react": "18.2.0", "react-native": "0.73.11", "react-native-builder-bob": "^0.23.0", "react-test-renderer": "18.2.0", "typescript": "^5.4.0" }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", [ "typescript", { "project": "tsconfig.build.json" } ] ] } }