diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..05647d5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,35 @@ +# Learn more https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files + +# dependencies +node_modules/ + +# Expo +.expo/ +dist/ +web-build/ + +# Native +*.orig.* +*.jks +*.p8 +*.p12 +*.key +*.mobileprovision + +# Metro +.metro-health-check* + +# debug +npm-debug.* +yarn-debug.* +yarn-error.* + +# macOS +.DS_Store +*.pem + +# local env files +.env*.local + +# typescript +*.tsbuildinfo diff --git a/App.tsx b/App.tsx new file mode 100644 index 0000000..b8f7637 --- /dev/null +++ b/App.tsx @@ -0,0 +1,13 @@ +import { StatusBar } from "expo-status-bar"; +import { Text, View } from "react-native"; + +export default function App() { + return ( + + + Open up App.tsx to start working on your app! + + + + ); +} diff --git a/app.json b/app.json new file mode 100644 index 0000000..b6c14de --- /dev/null +++ b/app.json @@ -0,0 +1,30 @@ +{ + "expo": { + "name": "womob", + "slug": "womob", + "version": "1.0.0", + "orientation": "portrait", + "icon": "./assets/icon.png", + "userInterfaceStyle": "light", + "splash": { + "image": "./assets/splash.png", + "resizeMode": "contain", + "backgroundColor": "#ffffff" + }, + "assetBundlePatterns": [ + "**/*" + ], + "ios": { + "supportsTablet": true + }, + "android": { + "adaptiveIcon": { + "foregroundImage": "./assets/adaptive-icon.png", + "backgroundColor": "#ffffff" + } + }, + "web": { + "favicon": "./assets/favicon.png" + } + } +} diff --git a/assets/adaptive-icon.png b/assets/adaptive-icon.png new file mode 100644 index 0000000..03d6f6b Binary files /dev/null and b/assets/adaptive-icon.png differ diff --git a/assets/favicon.png b/assets/favicon.png new file mode 100644 index 0000000..e75f697 Binary files /dev/null and b/assets/favicon.png differ diff --git a/assets/icon.png b/assets/icon.png new file mode 100644 index 0000000..a0b1526 Binary files /dev/null and b/assets/icon.png differ diff --git a/assets/splash.png b/assets/splash.png new file mode 100644 index 0000000..0e89705 Binary files /dev/null and b/assets/splash.png differ diff --git a/babel.config.js b/babel.config.js new file mode 100644 index 0000000..2fa972a --- /dev/null +++ b/babel.config.js @@ -0,0 +1,7 @@ +module.exports = function(api) { + api.cache(true); + return { + presets: ['babel-preset-expo'], + plugins: ["nativewind/babel"] + }; +}; diff --git a/bun.lockb b/bun.lockb new file mode 100755 index 0000000..7647933 Binary files /dev/null and b/bun.lockb differ diff --git a/nativewind.d.ts b/nativewind.d.ts new file mode 100644 index 0000000..a13e313 --- /dev/null +++ b/nativewind.d.ts @@ -0,0 +1 @@ +/// diff --git a/package.json b/package.json new file mode 100644 index 0000000..32190bf --- /dev/null +++ b/package.json @@ -0,0 +1,25 @@ +{ + "name": "womob", + "version": "1.0.0", + "main": "node_modules/expo/AppEntry.js", + "scripts": { + "start": "expo start", + "android": "expo start --android", + "ios": "expo start --ios", + "web": "expo start --web" + }, + "dependencies": { + "expo": "~49.0.15", + "expo-status-bar": "~1.6.0", + "nativewind": "^2.0.11", + "react": "18.2.0", + "react-native": "0.72.6" + }, + "devDependencies": { + "@babel/core": "^7.20.0", + "@types/react": "~18.2.14", + "tailwindcss": "3.3.2", + "typescript": "^5.1.3" + }, + "private": true +} diff --git a/tailwind.config.js b/tailwind.config.js new file mode 100644 index 0000000..ddd6d0b --- /dev/null +++ b/tailwind.config.js @@ -0,0 +1,9 @@ +/** @type {import('tailwindcss').Config} */ +module.exports = { + content: ["./App.{js,jsx,ts,tsx}", "./src/**/*.{js,jsx,ts,tsx}"], + theme: { + extend: {}, + }, + plugins: [], +} + diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..b9567f6 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,6 @@ +{ + "extends": "expo/tsconfig.base", + "compilerOptions": { + "strict": true + } +}