react-native-demo-library-by-rinkal 1.1.4 → 1.1.5

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/.bablerc ADDED
@@ -0,0 +1,3 @@
1
+ {
2
+ "presets": ["module:metro-react-native-babel-preset"]
3
+ }
package/.gitingnore ADDED
@@ -0,0 +1,11 @@
1
+ # Logs
2
+ *.log
3
+ npm-debug.log
4
+
5
+ # Runtime data
6
+ tmp
7
+ build
8
+ dist
9
+
10
+ # Dependency directory
11
+ node_modules
package/index.js CHANGED
@@ -4,8 +4,8 @@ import { StyleSheet, Text, View } from 'react-native';
4
4
  const TaskCard = () => {
5
5
  return (
6
6
  <View style={styles.card}>
7
- <Text style={styles.cardTitle}>Hello</Text>
8
- <Text style={styles.cardDescription}>This is a task description from library.</Text>
7
+ <Text style={styles.cardTitle}>Hello</Text>
8
+ <Text style={styles.cardDescription}>This is a task description from library.</Text>
9
9
  </View>
10
10
  );
11
11
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-demo-library-by-rinkal",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "rinkal",
@@ -12,5 +12,8 @@
12
12
  },
13
13
  "scripts": {
14
14
  "test": "echo \"Error: no test specified\" && exit 1"
15
+ },
16
+ "devDependencies": {
17
+ "metro-react-native-babel-preset": "^0.77.0"
15
18
  }
16
19
  }