From a9654d747fc183877b3aee9a1ef39a43c5c39df8 Mon Sep 17 00:00:00 2001 From: BcRikko Date: Thu, 29 Nov 2018 16:50:16 +0900 Subject: [PATCH] =?UTF-8?q?:memo:=20=E9=96=8B=E7=99=BA=E7=94=A8=E3=81=AE?= =?UTF-8?q?=E8=AA=AC=E6=98=8E=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/README.md b/README.md index af81f87..f715426 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,42 @@ NES.cssはCSSのみで構成されています。JavaScriptは不要です。 * IE/Edge +## Development + +### Commands +```sh +git clone git@github.com:BcRikko/NES.css.git +cd NES.css + +npm i + +npm run watch +npm run build +``` + +pre-commit hookにより、コミット時に自動でLint→format→buildが走り、`css`ディレクトリにファイルが出力されます。 +TODO: ビルドはCIでするように変更したい + +### Directories +``` +. +|- index.html: Demo page +|- style.css: Demo page style +|- css: Distribution files +|- scss: Source + |- base + | |- reboot.scss: **Don't change!** (Bootstrap Reboot) + | |- generic.scss: Generic style and overwrite reboot.css + | |- variables.scss: Common variables + |- elements + |- form + |- icons: For 16x16 icon + |- pixel-arts: For icon other than 16x16 icon. + |- utilities +``` + + + ## Copyright and license Code and documentation copyright 2018 [B.C.Rikko](https://github.com/BcRikko). Code released under the MIT License. Docs released under Creative Commons.