Files
waseel/package.json
T
KrikoriosandClaude Fable 5 eceb6b45d5 Fix SMTP delivery, add password reset and user deletion
SMTP:
- Add connection/greeting/socket timeouts so a stalled Gmail
  connection no longer hangs sign-up
- Wrap sendMail in try/catch and fall back to logging the code
- Derive secure from port (465 implicit TLS vs 587 STARTTLS)
- Strip whitespace from the Gmail app password
- Document SMTP_HOST/SMTP_PORT in .env.example and environment.d.ts

Password reset (new):
- POST /(api)/auth/forgot-password emails a 6-digit code and does
  not reveal whether the address is registered
- POST /(api)/auth/reset-password validates the code, sets the new
  password, verifies the email, and signs the user in
- password_reset_codes table added to seed-db.mjs
- "Forgot password?" flow on the mobile sign-in screen

User deletion (new):
- DELETE /(api)/admin/users/[id], owner-only, blocks self-deletion
- Delete button with confirmation on the dashboard Users page

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-23 22:41:41 +03:00

127 lines
3.1 KiB
JSON

{
"name": "waseel",
"main": "expo-router/entry",
"version": "1.0.1",
"scripts": {
"start": "expo start",
"reset-project": "node ./scripts/reset-project.js",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web",
"test": "jest --watchAll",
"lint": "expo lint"
},
"jest": {
"preset": "jest-expo"
},
"author": {
"name": "Sanidhya Kumar Verma",
"email": "sanidhyyy@gmail.com",
"url": "https://github.com/sanidhyy"
},
"description": "Find your perfect ride with Waseel.",
"keywords": [
"react",
"reactjs",
"react-native",
"expo",
"uber-clone",
"uber",
"expo-router",
"postgresql",
"alert",
"zustand",
"mysql",
"google-maps",
"directions-api",
"places-api",
"react-icons",
"postcss",
"prettier",
"nativewind",
"tailwindcss",
"tailwindcss-animate",
"ui/ux",
"js",
"javascript",
"typescript",
"eslint",
"html",
"css"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/sanidhyy/uber-clone.git"
},
"homepage": "https://github.com/sanidhyy/uber-clone#readme",
"bugs": {
"url": "https://github.com/sanidhyy/uber-clone/issues",
"email": "sanidhyyy@gmail.com"
},
"funding": [
{
"type": "patreon",
"url": "https://www.patreon.com/sanidhy"
},
{
"type": "Buy me a coffee",
"url": "https://www.buymeacoffee.com/sanidhy"
}
],
"dependencies": {
"@expo/metro-runtime": "~3.2.3",
"@expo/vector-icons": "^14.0.2",
"@gorhom/bottom-sheet": "^4.6.4",
"@react-navigation/native": "^6.0.2",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"expo": "~51.0.28",
"expo-auth-session": "~5.5.2",
"expo-constants": "~16.0.2",
"expo-crypto": "^57.0.1",
"expo-font": "~12.0.9",
"expo-linking": "^6.3.1",
"expo-location": "^17.0.1",
"expo-router": "~3.5.23",
"expo-secure-store": "^13.0.2",
"expo-splash-screen": "~0.27.5",
"expo-status-bar": "~1.12.1",
"expo-system-ui": "~3.0.7",
"expo-web-browser": "~13.0.3",
"nativewind": "^2.0.11",
"nodemailer": "^9.0.5",
"pg": "^8.23.0",
"prettier": "^3.3.3",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-native": "^0.74.5",
"react-native-gesture-handler": "~2.16.1",
"react-native-maps": "^1.14.0",
"react-native-maps-directions": "^1.9.0",
"react-native-modal": "^13.0.1",
"react-native-reanimated": "~3.10.1",
"react-native-safe-area-context": "4.10.5",
"react-native-screens": "3.31.1",
"react-native-swiper": "^1.6.0",
"react-native-web": "~0.19.10",
"zustand": "^4.5.5"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@types/jest": "^29.5.12",
"@types/nodemailer": "^8.0.1",
"@types/pg": "^8.23.1",
"@types/react": "~18.2.45",
"@types/react-test-renderer": "^18.0.7",
"eslint": "^8.57.0",
"eslint-config-expo": "^7.1.2",
"jest": "^29.2.1",
"jest-expo": "~51.0.3",
"react-test-renderer": "18.2.0",
"tailwindcss": "3.3.2",
"typescript": "~5.3.3"
},
"private": true
}