A TypeScript-based configuration generator for EAS (Expo Application Services).
pnpm add -D eas-config-ts
- 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,
},
},
});
- Run the following command to generate
eas.json
npx gen-eas-config