Skip to content

shoma-mano/eas-config-ts

Repository files navigation

eas-config-ts

A TypeScript-based configuration generator for EAS (Expo Application Services).

alt text

Installation

pnpm add -D eas-config-ts

Usage

  1. Create an eas.config.ts file in your project root with your EAS configuration.
import { defineEasConfig } from "eas-config-ts";
// necessary if you want to use dotenv
import "dotenv/config";

// you can write type-safe config
export default defineEasConfig({
  build: {
    development: {
      // process.env can be used!!
      env: process.env,
    },
  },
});
  1. Run the following command to generate eas.json
npx gen-eas-config