Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Repository instructions

## Purpose
This repository contains Phantom's `@phantom/react-native-fast-image` package, a performant React Native image component backed by SDWebImage on iOS and Glide on Android.

## Layout
- `src/`: JavaScript and TypeScript package source.
- `ios/`: native iOS implementation.
- `android/`: native Android implementation.
- `ReactNativeFastImageExample/`: React Native example app used for manual development.
- `ReactNativeFastImageExampleServer/`: server used by the example project.
- `docs/`: development and troubleshooting documentation.

## Development and validation
Use Yarn v1 and keep `yarn.lock` in sync with dependency changes.

- Install dependencies: `yarn --frozen-lockfile`
- Build the package: `yarn build`
- Run tests with coverage: `yarn test --coverage`
- Run the configured linter: `yarn lint`

To exercise native changes, follow `docs/development.md` to link the package into `ReactNativeFastImageExample/`, start Metro, and run the iOS or Android app. This project targets the latest React Native version rather than backporting new features to older releases.
1 change: 1 addition & 0 deletions CLAUDE.md
Loading