Skip to content

Latest commit

 

History

History
executable file
·
25 lines (18 loc) · 781 Bytes

Configuration.example.md

File metadata and controls

executable file
·
25 lines (18 loc) · 781 Bytes

Configuration

設定はコマンド実行ディレクトリの config.json に記載できます。
コマンド実行時のオプションと競合する設定は、オプションで指定された値が優先されます。

config.json

設定ファイルに関する説明です。

Parameter Name Type Required Description
name string N HTMLのtitleに設定された名前
(デフォルトは package.jsonname)
root string N ルートディレクトリ
(デフォルトは package.json の存在するディレクトリ)
port int N 起動するポート
(デフォルトは 1234)

Example

{
    "name": "My Awesome Server",
    "root": "src",
    "port": 1234
}