65 lines
2.5 KiB
Plaintext
65 lines
2.5 KiB
Plaintext
|
|
# llm.txt — Throne of the Bone King
|
||
|
|
|
||
|
|
## Project
|
||
|
|
**Name:** Bone Lord Bob — Throne of the Bone King
|
||
|
|
**Repo:** `jacob-mathison/blb-throne-of-the-bone-king`
|
||
|
|
**Type:** Mobile application (React Native)
|
||
|
|
**Status:** Early development / scaffolding
|
||
|
|
|
||
|
|
## Part of
|
||
|
|
Bone Lord Bob (BLB) is an original American Anime project developed by Jacob Mathison and Joseph Bro under Mathison Projects Inc.
|
||
|
|
|
||
|
|
## Stack
|
||
|
|
- **React Native** 0.85.3
|
||
|
|
- **React** 19.2.3
|
||
|
|
- **TypeScript** ^5.8.3
|
||
|
|
- **Metro** bundler
|
||
|
|
- **Jest** for testing
|
||
|
|
- **ESLint + Prettier** for linting/formatting
|
||
|
|
- **Targets:** Android + iOS
|
||
|
|
|
||
|
|
## Project Structure
|
||
|
|
```
|
||
|
|
blb-throne-of-the-bone-king/
|
||
|
|
├── App.tsx # Root application component
|
||
|
|
├── index.js # Entry point
|
||
|
|
├── android/ # Android native project
|
||
|
|
├── ios/ # iOS native project (CocoaPods)
|
||
|
|
├── __tests__/ # Jest test suite
|
||
|
|
├── babel.config.js # Babel config (react-native preset)
|
||
|
|
├── metro.config.js # Metro bundler config
|
||
|
|
├── tsconfig.json # TypeScript config
|
||
|
|
├── jest.config.js # Jest config
|
||
|
|
├── Gemfile # Ruby deps for CocoaPods / fastlane
|
||
|
|
├── .eslintrc.js # Lint rules (@react-native/eslint-config)
|
||
|
|
├── .prettierrc.js # Prettier rules
|
||
|
|
├── llm.txt # This file — project context for AI agents
|
||
|
|
└── AGENTS.md # AI agent operational instructions
|
||
|
|
```
|
||
|
|
|
||
|
|
## Dev Commands
|
||
|
|
```bash
|
||
|
|
npm install # Install JS deps
|
||
|
|
bundle exec pod install # iOS CocoaPods deps (run inside ios/)
|
||
|
|
npm run android # Run on Android emulator/device
|
||
|
|
npm run ios # Run on iOS simulator/device
|
||
|
|
npm run start # Start Metro bundler
|
||
|
|
npm run lint # ESLint
|
||
|
|
npm run test # Jest
|
||
|
|
```
|
||
|
|
|
||
|
|
## Coding Conventions
|
||
|
|
- TypeScript strictly typed — avoid `any`
|
||
|
|
- Functional components + hooks only (no class components)
|
||
|
|
- Component files: PascalCase (e.g. `BoneKingScreen.tsx`)
|
||
|
|
- Utility/hook files: camelCase (e.g. `useBoneKing.ts`)
|
||
|
|
- Styles: `StyleSheet.create()` — no inline style objects on hot paths
|
||
|
|
- Keep native modules minimal; prefer JS-side implementations where possible
|
||
|
|
|
||
|
|
## Notes for LLMs
|
||
|
|
- This is a React Native project — do NOT suggest browser DOM APIs
|
||
|
|
- Metro is the bundler — not Vite, Webpack, or esbuild
|
||
|
|
- iOS native code lives in `ios/` (Swift/ObjC); Android in `android/` (Kotlin/Java)
|
||
|
|
- Pods are not committed to git — always run `pod install` after pulling
|
||
|
|
- `node_modules/` is not committed
|