A TypeScript-based configuration generator for EAS (Expo Application Services).
A TypeScript-based configuration generator for EAS (Expo Application Services).
``bash`
pnpm add -D eas-config-ts
1. Create an eas.config.ts file in your project root with your EAS configuration.
`typescript
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,
},
},
});
`
2. Run the following command to generate eas.json
`bash``
npx gen-eas-config