Skip to content

Commit

Permalink
build flipper app locally
Browse files Browse the repository at this point in the history
  • Loading branch information
kilbot committed Oct 19, 2022
1 parent 704b5eb commit e333968
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 58 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ npm-debug.*
*.orig.*
web-build/
dist/
*.tar.gz
*.app

# macOS
.DS_Store
87 changes: 43 additions & 44 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,46 +1,45 @@
{
"expo": {
"name": "wcpos-monorepo-app-with-flipper",
"slug": "wcpos-monorepo-app-with-flipper",
"owner": "kilbot",
"version": "1.0.0",
"jsEngine": "hermes",
"orientation": "portrait",
"icon": "./assets/icon.png",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"bundleIdentifier": "com.wcpos.client.flipper",
"buildNumber": "1.0.0",
"supportsTablet": true
},
"android": {
"package": "com.wcpos.client.flipper",
"versionCode": 400010000,
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#FFFFFF"
}
},
"web": {
"favicon": "./assets/favicon.png"
},
"plugins": [
"expo-community-flipper"
],
"extra": {
"eas": {
"projectId": "2a051d9c-1c4c-40e2-98c2-f87ee7b6e485"
}
}
}
"expo": {
"name": "wcpos-monorepo-app-with-flipper",
"slug": "wcpos-monorepo-app-with-flipper",
"owner": "kilbot",
"version": "1.0.0",
"githubUrl": "https://github.com/wcpos/app-with-flipper",
"jsEngine": "hermes",
"orientation": "portrait",
"icon": "./assets/icon.png",
"backgroundColor": "#F0F4F8",
"scheme": "wcpos",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#F0F4F8"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": ["**/*"],
"ios": {
"bundleIdentifier": "com.wcpos.client.flipper",
"buildNumber": "1.0.0",
"supportsTablet": true
},
"android": {
"package": "com.wcpos.client.flipper",
"versionCode": 400010000,
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#F0F4F8"
}
},
"web": {
"favicon": "./assets/favicon.png"
},
"plugins": ["expo-community-flipper"],
"extra": {
"eas": {
"projectId": "2a051d9c-1c4c-40e2-98c2-f87ee7b6e485"
}
}
}
}
5 changes: 4 additions & 1 deletion eas.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"build": {
"base": {
"env": {}
"env": {},
"cache": {
"key": "1"
}
},
"preview": {
"extends": "base",
Expand Down
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "1.0.0",
"main": "index.js",
"scripts": {
"build": "eas build --profile=devclient",
"build": "eas build --profile=devclient --platform ios --local",
"test": "eslint --ext js,ts,tsx .",
"start": "expo start --dev-client",
"android": "expo start --android",
Expand All @@ -14,38 +14,38 @@
"eas-build-post-install": "echo 'Post install build?'"
},
"dependencies": {
"@react-native-community/netinfo": "9.3.2",
"@react-native-community/netinfo": "9.3.5",
"@react-navigation/bottom-tabs": "^6.4.0",
"@react-navigation/drawer": "6.5.0",
"@react-navigation/elements": "1.3.6",
"@react-navigation/native": "6.0.13",
"@react-navigation/stack": "6.3.1",
"@shopify/flash-list": "1.3.0",
"@react-navigation/stack": "6.3.2",
"@shopify/flash-list": "1.3.1",
"@wcpos/core": "*",
"base-64": "1.0.0",
"expo": "^46.0.14",
"expo": "^46.0.16",
"expo-application": "~4.2.2",
"expo-community-flipper": "46.0.2",
"expo-constants": "~13.2.4",
"expo-dev-client": "~1.3.0",
"expo-dev-client": "~1.3.1",
"expo-device": "~4.3.0",
"expo-haptics": "~11.3.0",
"expo-modules-core": "^0.11.6",
"expo-modules-core": "^0.11.8",
"expo-sqlite": "~10.3.0",
"expo-status-bar": "~1.4.0",
"expo-system-ui": "~1.3.0",
"expo-updates": "~0.14.6",
"react": "18.2.0",
"react-devtools-core": "4.26.0",
"react-devtools-core": "4.26.1",
"react-dom": "18.2.0",
"react-native": "0.69.6",
"react-native-device-info": "10.2.0",
"react-native-flipper": "0.164.0",
"react-native-gesture-handler": "~2.6.2",
"react-native-device-info": "10.2.1",
"react-native-flipper": "0.171.1",
"react-native-gesture-handler": "~2.7.1",
"react-native-get-random-values": "~1.8.0",
"react-native-reanimated": "2.6.0",
"react-native-safe-area-context": "4.4.1",
"react-native-screens": "~3.17.0",
"react-native-screens": "~3.18.2",
"react-native-svg": "12.3.0",
"react-native-web": "~0.18.9",
"react-native-webview": "11.23.1"
Expand All @@ -55,7 +55,7 @@
"@expo/webpack-config": "^0.17.2",
"@types/react": "^18.0.21",
"@types/react-dom": "~18.0.6",
"@types/react-native": "~0.70.4",
"@types/react-native": "~0.70.6",
"@wcpos/babel-preset-expo": "*",
"@wcpos/eslint-config": "*",
"@wcpos/tsconfig": "*",
Expand Down

0 comments on commit e333968

Please sign in to comment.