From 5a6ee461e52db43237b0be25f5762b38c34e29d8 Mon Sep 17 00:00:00 2001 From: sarthakpranesh Date: Sun, 7 Aug 2022 21:21:50 +0530 Subject: [PATCH] Updated build scripts and added eas support Signed-off-by: sarthakpranesh --- eas.json | 18 ++++++++++++++++++ package.json | 6 +++--- 2 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 eas.json diff --git a/eas.json b/eas.json new file mode 100644 index 0000000..de71efb --- /dev/null +++ b/eas.json @@ -0,0 +1,18 @@ +{ + "cli": { + "version": ">= 0.57.0" + }, + "build": { + "development": { + "developmentClient": true, + "distribution": "internal" + }, + "preview": { + "distribution": "internal" + }, + "production": {} + }, + "submit": { + "production": {} + } +} diff --git a/package.json b/package.json index 00d03ba..38656d4 100644 --- a/package.json +++ b/package.json @@ -7,9 +7,9 @@ "web": "expo start --web", "eject": "expo eject", "desktop": "tauri dev", - "build-android": "expo build:android", - "build-ios": "expo build:ios", - "build-web": "expo build:web", + "build-android": "eas build -p android", + "build-ios": "eas build -p ios", + "build-web": "expo export:web", "build-desktop": "tauri build", "lint": "eslint ." },