react-native-marked 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -19,7 +19,7 @@ import Markdown from 'react-native-marked';
19
19
  const ExampleComponent = () => {
20
20
  return (
21
21
  <Markdown
22
- value={`#Hello world`}
22
+ value={`# Hello world`}
23
23
  flatListProps={{
24
24
  initialNumToRender: 8,
25
25
  }}
@@ -30,6 +30,9 @@ const ExampleComponent = () => {
30
30
  export default ExampleComponent;
31
31
  ```
32
32
 
33
+ ## Example
34
+ https://snack.expo.dev/@gmsgowtham/react-native-marked
35
+
33
36
  ## Screenshots
34
37
 
35
38
  | Dark Theme | Light Theme |
@@ -48,7 +51,7 @@ MIT
48
51
 
49
52
  Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
50
53
 
51
- ## External Libraries
54
+ ## Built with
52
55
 
53
56
  - [Marked](https://marked.js.org/)
54
57
  - [React Native Fit Image](https://github.com/huiseoul/react-native-fit-image)
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import type { MarkdownProps } from './types';
3
- declare const _default: React.MemoExoticComponent<({ value, flatListProps, styles: userStyles, }: MarkdownProps) => JSX.Element>;
3
+ declare const _default: React.MemoExoticComponent<({ value, flatListProps, styles, }: MarkdownProps) => JSX.Element>;
4
4
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-marked",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Markdown renderer for React Native powered by marked.js",
5
5
  "main": "dist/commonjs/index",
6
6
  "module": "dist/module/index",
@@ -61,6 +61,7 @@
61
61
  "commitlint": "^17.0.2",
62
62
  "eslint": "^8.4.1",
63
63
  "eslint-config-prettier": "^8.5.0",
64
+ "eslint-plugin-jest": "^27.0.4",
64
65
  "eslint-plugin-prettier": "^4.0.0",
65
66
  "jest": "^28.1.1",
66
67
  "pod-install": "^0.1.0",
@@ -136,6 +137,9 @@
136
137
  "prettier",
137
138
  "plugin:@typescript-eslint/recommended"
138
139
  ],
140
+ "plugins": [
141
+ "jest"
142
+ ],
139
143
  "rules": {
140
144
  "prettier/prettier": [
141
145
  "error",
@@ -148,6 +152,9 @@
148
152
  }
149
153
  ],
150
154
  "@typescript-eslint/ban-ts-comment": "off"
155
+ },
156
+ "env": {
157
+ "jest/globals": true
151
158
  }
152
159
  },
153
160
  "eslintIgnore": [