Next.js AppRouter用のテンプレート

使用手順

  1. clone

    git clone git@github.com:tosaken1116/nextjs-app-templates.git
    

    or

    git clone https://github.com/tosaken1116/nextjs-app-templates.git
    

スクリプト

  • dev
    • 開発サーバーを起動します。
  • build
    • ビルドします。
  • start
    • ビルドしたアプリケーションを起動します。
  • lint
    • next lintを実行します。
  • new:ui
    • uiコンポーネントを作成します
  • new:page
    • pageコンポーネントを作成します
  • new:model
    • modelコンポーネントを作成します
  • mock
    • モックサーバーを起動します
  • test:unit
    • 単体テストを実行します
  • fmt
    • prettierを実行します
  • storybook
    • storybookを起動します
  • build-storybook
    • storybookをビルドします
  • check:lint
    • eslintを実行します
  • check:cspell
    • cspellを実行します
  • check:markuplint
    • markuplintを実行します
  • ci:test-group
    • testの接頭辞がつくスクリプトを同時に実行します
  • ci:check
    • checkの接頭辞がつくスクリプトを同時に実行します
  • check
    • checktestの接頭辞がつくスクリプトを同時に実行します