Browse Source

Cleaned up path to different files

ErnestoOrtiz2 2 years ago
parent
commit
1a6fac9532
4 changed files with 26 additions and 10 deletions
  1. 15
    0
      package-lock.json
  2. 5
    4
      package.json
  3. 3
    3
      screens/AvailabilityScreen.js
  4. 3
    3
      screens/auth/RegisterScreen.js

+ 15
- 0
package-lock.json View File

22
         "react-native-multi-selectbox": "^1.5.0",
22
         "react-native-multi-selectbox": "^1.5.0",
23
         "react-native-paper": "^4.9.2",
23
         "react-native-paper": "^4.9.2",
24
         "react-native-safe-area-context": "3.2.0",
24
         "react-native-safe-area-context": "3.2.0",
25
+        "react-native-sectioned-multi-select": "^0.8.1",
25
         "react-native-web": "~0.13.12",
26
         "react-native-web": "~0.13.12",
26
         "react-redux": "^7.2.5",
27
         "react-redux": "^7.2.5",
27
         "redux": "^4.1.1",
28
         "redux": "^4.1.1",
10204
         "react-native": "*"
10205
         "react-native": "*"
10205
       }
10206
       }
10206
     },
10207
     },
10208
+    "node_modules/react-native-sectioned-multi-select": {
10209
+      "version": "0.8.1",
10210
+      "resolved": "https://registry.npmjs.org/react-native-sectioned-multi-select/-/react-native-sectioned-multi-select-0.8.1.tgz",
10211
+      "integrity": "sha512-iH/5PHBo64yFhKzjd+6sCG0aEvgDnUwpn3I7R0ohcGo/+gJdw47mYmJMTwJTmR9JqBFXHx+2bkQi4ij2ghfqRQ==",
10212
+      "peerDependencies": {
10213
+        "prop-types": "^15.6.0"
10214
+      }
10215
+    },
10207
     "node_modules/react-native-svg": {
10216
     "node_modules/react-native-svg": {
10208
       "version": "12.1.1",
10217
       "version": "12.1.1",
10209
       "resolved": "https://registry.npmjs.org/react-native-svg/-/react-native-svg-12.1.1.tgz",
10218
       "resolved": "https://registry.npmjs.org/react-native-svg/-/react-native-svg-12.1.1.tgz",
21173
         "warn-once": "^0.1.0"
21182
         "warn-once": "^0.1.0"
21174
       }
21183
       }
21175
     },
21184
     },
21185
+    "react-native-sectioned-multi-select": {
21186
+      "version": "0.8.1",
21187
+      "resolved": "https://registry.npmjs.org/react-native-sectioned-multi-select/-/react-native-sectioned-multi-select-0.8.1.tgz",
21188
+      "integrity": "sha512-iH/5PHBo64yFhKzjd+6sCG0aEvgDnUwpn3I7R0ohcGo/+gJdw47mYmJMTwJTmR9JqBFXHx+2bkQi4ij2ghfqRQ==",
21189
+      "requires": {}
21190
+    },
21176
     "react-native-svg": {
21191
     "react-native-svg": {
21177
       "version": "12.1.1",
21192
       "version": "12.1.1",
21178
       "resolved": "https://registry.npmjs.org/react-native-svg/-/react-native-svg-12.1.1.tgz",
21193
       "resolved": "https://registry.npmjs.org/react-native-svg/-/react-native-svg-12.1.1.tgz",

+ 5
- 4
package.json View File

13
     "@react-navigation/native": "^6.0.4",
13
     "@react-navigation/native": "^6.0.4",
14
     "@react-navigation/stack": "^6.0.9",
14
     "@react-navigation/stack": "^6.0.9",
15
     "expo": "~42.0.1",
15
     "expo": "~42.0.1",
16
+    "expo-constants": "~11.0.1",
17
+    "expo-notifications": "~0.12.3",
16
     "expo-status-bar": "~1.0.4",
18
     "expo-status-bar": "~1.0.4",
17
     "firebase": "8.2.3",
19
     "firebase": "8.2.3",
18
     "react": "16.13.1",
20
     "react": "16.13.1",
22
     "react-native-gifted-chat": "^0.16.3",
24
     "react-native-gifted-chat": "^0.16.3",
23
     "react-native-multi-selectbox": "^1.5.0",
25
     "react-native-multi-selectbox": "^1.5.0",
24
     "react-native-paper": "^4.9.2",
26
     "react-native-paper": "^4.9.2",
27
+    "react-native-safe-area-context": "3.2.0",
28
+    "react-native-sectioned-multi-select": "^0.8.1",
25
     "react-native-web": "~0.13.12",
29
     "react-native-web": "~0.13.12",
26
     "react-redux": "^7.2.5",
30
     "react-redux": "^7.2.5",
27
     "redux": "^4.1.1",
31
     "redux": "^4.1.1",
28
-    "redux-thunk": "^2.3.0",
29
-    "react-native-safe-area-context": "3.2.0",
30
-    "expo-notifications": "~0.12.3",
31
-    "expo-constants": "~11.0.1"
32
+    "redux-thunk": "^2.3.0"
32
   },
33
   },
33
   "devDependencies": {
34
   "devDependencies": {
34
     "@babel/core": "^7.9.0"
35
     "@babel/core": "^7.9.0"

+ 3
- 3
screens/AvailabilityScreen.js View File

8
 import { connect } from 'react-redux';
8
 import { connect } from 'react-redux';
9
 import { bindActionCreators } from 'redux';
9
 import { bindActionCreators } from 'redux';
10
 
10
 
11
-import { fetchUser } from "../../redux/actions";
12
-import { styles } from "../../config/styles";
13
-import { availability } from "../../config/availability";
11
+import { fetchUser } from "../redux/actions";
12
+import { styles } from "../config/styles";
13
+import { availability } from "../config/availability";
14
 
14
 
15
 export class AvailabilityScreen extends Component {
15
 export class AvailabilityScreen extends Component {
16
     constructor(props) {
16
     constructor(props) {

+ 3
- 3
screens/auth/RegisterScreen.js View File

3
 import firebase from "firebase";
3
 import firebase from "firebase";
4
 import { Picker } from "@react-native-picker/picker";
4
 import { Picker } from "@react-native-picker/picker";
5
 
5
 
6
-import { styles } from "../config/styles";
7
-import CustomButton from "../components/CustomButton";
6
+import { styles } from "../../config/styles";
7
+import CustomButton from "../../components/CustomButton";
8
 
8
 
9
 export default class RegisterScreen extends Component {
9
 export default class RegisterScreen extends Component {
10
     constructor(props) {
10
     constructor(props) {
51
     render() {
51
     render() {
52
         return (
52
         return (
53
             <TouchableWithoutFeedback style={styles.regcontainer} onPress={Keyboard.dismiss} accessible={false}>
53
             <TouchableWithoutFeedback style={styles.regcontainer} onPress={Keyboard.dismiss} accessible={false}>
54
-                <ImageBackground style={styles.regcontainer} source={require('../assets/yellow-white.jpg')}>
54
+                <ImageBackground style={styles.regcontainer} source={require('../../assets/yellow-white.jpg')}>
55
                     <TextInput style={styles.regtxtfield} placeholder="Userame" onChangeText={(username) => this.setState({ username })}/>
55
                     <TextInput style={styles.regtxtfield} placeholder="Userame" onChangeText={(username) => this.setState({ username })}/>
56
                     <TextInput style={styles.regtxtfield} placeholder="Email" onChangeText={(email) => this.setState({ email })}/>
56
                     <TextInput style={styles.regtxtfield} placeholder="Email" onChangeText={(email) => this.setState({ email })}/>
57
                     <TextInput style={styles.regtxtfield} placeholder="Password" onChangeText={(password) => this.setState({ password })} secureTextEntry={ true }/>
57
                     <TextInput style={styles.regtxtfield} placeholder="Password" onChangeText={(password) => this.setState({ password })} secureTextEntry={ true }/>