Skip to content
This repository has been archived by the owner on Jul 20, 2024. It is now read-only.

albelium/web-application-template

Repository files navigation

web-application-template

web-application-template

Build a development environment

  1. モジュールをインストール
$ pnpm install
  1. ビルド対象のパッケージをビルド
$ pnpm build
  1. 開発環境を立ち上げる
$ pnpm dev

Running Linter

ESLintを走らせる場合は以下のコマンドを実行します。

$ pnpm lint

ESLintのルールに沿って自動修正する場合は以下のコマンドを実行します。

$ pnpm lint:fix

Testing

テスト対象のパッケージをテスト実行する場合は以下のコマンドを実行します。

$ pnpm test

テストをwatchモードで実行する場合は以下のコマンドを実行します。

$ pnpm test:watch

Cleaning

対象パッケージのcleanコマンドの実行と.turbo dist node_modulesを削除する場合は以下のコマンドを実行します。

$ pnpm clean

ディレクトリ配下のdistを全て削除する場合は以下のコマンドを実行します。

$ pnpm clean:dist

ディレクトリ配下のnode_modulesを全て削除する場合は以下のコマンドを実行します。

$ pnpm clean:node_modules