Skip to content

sonicjam/grunt-init-static-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grunt-init-static-website

静的 web サイト開発用 grunt スケルトン

必要環境

インストール

grunt-init コマンドがない場合は npm からインストール:

npm install -g grunt-init

続いてこのスケルトンリポジトリを git clone~/.grunt-init 配下へダウンロード:

git clone git://github.com/sonicjam/grunt-init-static-website.git ~/.grunt-init/static-website

プロジェクト開始時

初回にプロジェクト用のディレクトリ内で次のコマンドを実行:

grunt-init static-website
npm install

コンパイルコマンド:

grunt

監視コマンド:

grunt listen

ルール

  • src ディレクトリ下のファイルを編集する。他はさわらない。
  • src 下のディレクトリ構成は自由。
  • ただし vendor ディレクトリの中に jQuery や normalize.css 等のライブラリを格納する。
  • Sass や HTML のインクルード用ファイルは必ず _ を接頭辞とする。

License

Distributed under the Unlicense.

About

静的 web サイト開発用 grunt スケルトン

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published