From daa022b54e5aa89949f46de47276c79f868d122f Mon Sep 17 00:00:00 2001 From: raymag Date: Sat, 4 Jun 2022 13:29:27 -0300 Subject: [PATCH] package config --- app.json | 4 ++-- eas.json | 31 +++++++++++++++++++++++++++++++ package.json | 11 +++++------ 3 files changed, 38 insertions(+), 8 deletions(-) create mode 100644 eas.json diff --git a/app.json b/app.json index 7c70992..7f7ace5 100644 --- a/app.json +++ b/app.json @@ -1,7 +1,7 @@ { "expo": { - "name": "pomodoro", - "slug": "pomodoro", + "name": "Dr Pomodoro", + "slug": "dr pomodoro", "version": "1.0.0", "orientation": "portrait", "icon": "./assets/icon.png", diff --git a/eas.json b/eas.json new file mode 100644 index 0000000..702b2e0 --- /dev/null +++ b/eas.json @@ -0,0 +1,31 @@ +{ + "cli": { + "version": ">= 0.42.4" + }, + "build": { + "debug": { + "distribution": "internal", + "android": { + "gradleCommand": ":app:assembleDebug" + }, + "ios": { + "buildConfiguration": "Debug" + } + }, + "development": { + "distribution": "internal", + "extends": "production", + "android": { + "gradleCommand": ":app:assembleRelease" + }, + "ios": { + "buildConfiguration": "Release" + } + }, + "production": {} + }, + "submit": { + "production": {} + } + } + \ No newline at end of file diff --git a/package.json b/package.json index cbb0d84..10b52e3 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,11 @@ { - "name": "pomodoro", + "name": "drpomodoro", "version": "1.0.0", "scripts": { - "start": "expo start --dev-client", - "android": "expo run:android", - "ios": "expo run:ios", - "web": "expo start --web", - "eject": "expo eject" + "start": "react-native start --reset-cache", + "android": "react-native run-android", + "ios": "react-native run-ios", + "build": "eas build -p android --profile development" }, "dependencies": { "expo": "~45.0.0",