frontend: add react date picker
Parents:
f217e8c3 file(s) changed
- frontend/app.json +2 -1
- frontend/package-lock.json +46 -0
- frontend/package.json +5 -2
frontend/app.json
@@ -71,7 +71,8 @@ ]
71 71 }
72 72 ],
73 73 "expo-secure-store",
74 - "expo-web-browser"
74 + "expo-web-browser",
75 + "@react-native-community/datetimepicker"
75 76 ],
76 77 "experiments": {
77 78 "typedRoutes": true,
frontend/package-lock.json
@@ -11,6 +11,7 @@ "dependencies": {
11 11 "@expo-google-fonts/inter": "^0.4.2",
12 12 "@expo/vector-icons": "^15.0.3",
13 13 "@react-native-async-storage/async-storage": "2.2.0",
14 + "@react-native-community/datetimepicker": "8.4.4",
14 15 "@react-native-community/slider": "5.0.1",
15 16 "@react-navigation/bottom-tabs": "^7.4.0",
16 17 "@react-navigation/elements": "^2.6.3",
@@ -21,6 +22,7 @@ "expo-dev-client": "~6.0.21",
21 22 "expo-font": "~14.0.11",
22 23 "expo-haptics": "~15.0.8",
23 24 "expo-image": "~3.0.11",
25 + "expo-image-picker": "~17.0.11",
24 26 "expo-linking": "~8.0.12",
25 27 "expo-router": "~6.0.23",
26 28 "expo-secure-store": "~15.0.8",
@@ -2765,6 +2767,29 @@ "merge-options": "^3.0.4"
2765 2767 },
2766 2768 "peerDependencies": {
2767 2769 "react-native": "^0.0.0-0 || >=0.65 <1.0"
2770 + }
2771 + },
2772 + "node_modules/@react-native-community/datetimepicker": {
2773 + "version": "8.4.4",
2774 + "resolved": "https://registry.npmjs.org/@react-native-community/datetimepicker/-/datetimepicker-8.4.4.tgz",
2775 + "integrity": "sha512-bc4ZixEHxZC9/qf5gbdYvIJiLZ5CLmEsC3j+Yhe1D1KC/3QhaIfGDVdUcid0PdlSoGOSEq4VlB93AWyetEyBSQ==",
2776 + "license": "MIT",
2777 + "dependencies": {
2778 + "invariant": "^2.2.4"
2779 + },
2780 + "peerDependencies": {
2781 + "expo": ">=52.0.0",
2782 + "react": "*",
2783 + "react-native": "*",
2784 + "react-native-windows": "*"
2785 + },
2786 + "peerDependenciesMeta": {
2787 + "expo": {
2788 + "optional": true
2789 + },
2790 + "react-native-windows": {
2791 + "optional": true
2792 + }
2768 2793 }
2769 2794 },
2770 2795 "node_modules/@react-native-community/slider": {
@@ -6240,6 +6265,27 @@ "peerDependenciesMeta": {
6240 6265 "react-native-web": {
6241 6266 "optional": true
6242 6267 }
6268 + }
6269 + },
6270 + "node_modules/expo-image-loader": {
6271 + "version": "6.0.0",
6272 + "resolved": "https://registry.npmjs.org/expo-image-loader/-/expo-image-loader-6.0.0.tgz",
6273 + "integrity": "sha512-nKs/xnOGw6ACb4g26xceBD57FKLFkSwEUTDXEDF3Gtcu3MqF3ZIYd3YM+sSb1/z9AKV1dYT7rMSGVNgsveXLIQ==",
6274 + "license": "MIT",
6275 + "peerDependencies": {
6276 + "expo": "*"
6277 + }
6278 + },
6279 + "node_modules/expo-image-picker": {
6280 + "version": "17.0.11",
6281 + "resolved": "https://registry.npmjs.org/expo-image-picker/-/expo-image-picker-17.0.11.tgz",
6282 + "integrity": "sha512-/apkoyukDvsCHHb9fzP+F34A1uQqSzUtYH/2P/xJACNEwq+mwEXjXvVU8bzlJq6ih0Qo1+tpVivIa7B9kYSwOQ==",
6283 + "license": "MIT",
6284 + "dependencies": {
6285 + "expo-image-loader": "~6.0.0"
6286 + },
6287 + "peerDependencies": {
6288 + "expo": "*"
6243 6289 }
6244 6290 },
6245 6291 "node_modules/expo-json-utils": {
frontend/package.json
@@ -5,13 +5,15 @@ "version": "0.0.0",
5 5 "scripts": {
6 6 "start": "expo start",
7 7 "reset-project": "node ./scripts/reset-project.js",
8 - "android": "expo start --android",
9 - "lint": "expo lint"
8 + "android": "expo run:android",
9 + "lint": "expo lint",
10 + "ios": "expo run:ios"
10 11 },
11 12 "dependencies": {
12 13 "@expo-google-fonts/inter": "^0.4.2",
13 14 "@expo/vector-icons": "^15.0.3",
14 15 "@react-native-async-storage/async-storage": "2.2.0",
16 + "@react-native-community/datetimepicker": "8.4.4",
15 17 "@react-native-community/slider": "5.0.1",
16 18 "@react-navigation/bottom-tabs": "^7.4.0",
17 19 "@react-navigation/elements": "^2.6.3",
@@ -22,6 +24,7 @@ "expo-dev-client": "~6.0.21",
22 24 "expo-font": "~14.0.11",
23 25 "expo-haptics": "~15.0.8",
24 26 "expo-image": "~3.0.11",
27 + "expo-image-picker": "~17.0.11",
25 28 "expo-linking": "~8.0.12",
26 29 "expo-router": "~6.0.23",
27 30 "expo-secure-store": "~15.0.8",