Skip to content

Latest commit

 

History

History
48 lines (37 loc) · 961 Bytes

README.md

File metadata and controls

48 lines (37 loc) · 961 Bytes

farming-planner

周回計画計算機

https://farm.roadagain.dev

開発

セットアップ

$ yarn

開発環境立ち上げ

$ yarn dev

Next.jsの開発サーバーが立ちます

テスト

$ yarn test

TSの型チェックとlib用のテストが走ります

lint

$ yarn lint

ESLintとPrettierのフォーマットチェックが走ります

自動修正

$ yarn fix

ESLintの自動修正とPrettierのフォーマットが走ります

ディレクトリ構造

  • .github/workflows: GitHub Actionsの設定
  • components: 汎用のReactコンポーネント
  • context: React Contextの設定
  • lib: 内部ロジック
    • types: 全体で使う型定義
  • pages: Next.jsのページコンポーネント
  • preset-data: 予め用意したステージやアイテムのデータ
  • sample: (主にテストで使う用の)サンプルデータ