{"id":15209136,"url":"https://github.com/ucan-lab/mixed-nuts","last_synced_at":"2025-10-29T13:30:19.404Z","repository":{"id":28116324,"uuid":"116254598","full_name":"ucan-lab/mixed-nuts","owner":"ucan-lab","description":"Mixed-Nuts モダンなWebサイト開発環境2018","archived":false,"fork":false,"pushed_at":"2023-12-15T14:36:17.000Z","size":273,"stargazers_count":23,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-02T01:32:13.125Z","etag":null,"topics":["ejs","html","laravel-mix","sass","vuejs"],"latest_commit_sha":null,"homepage":"http://mixed-nuts.u-can.tech","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ucan-lab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-01-04T11:54:59.000Z","updated_at":"2020-06-16T04:17:03.000Z","dependencies_parsed_at":"2023-12-15T15:48:00.540Z","dependency_job_id":null,"html_url":"https://github.com/ucan-lab/mixed-nuts","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucan-lab%2Fmixed-nuts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucan-lab%2Fmixed-nuts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucan-lab%2Fmixed-nuts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucan-lab%2Fmixed-nuts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ucan-lab","download_url":"https://codeload.github.com/ucan-lab/mixed-nuts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238825809,"owners_count":19537131,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ejs","html","laravel-mix","sass","vuejs"],"created_at":"2024-09-28T07:21:34.497Z","updated_at":"2025-10-29T13:30:19.050Z","avatar_url":"https://github.com/ucan-lab.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://user-images.githubusercontent.com/35098175/35766776-46a3663c-0921-11e8-9bba-f21116b2eafa.jpg\" alt=\"mixed-nuts\"\u003e\n\n# Mixed-Nuts〜Webサイト制作環境〜\n\nMixed-Nuts(ミックスナッツ)は便利なライブラリを組み合わせ、快適かつ高速なWebサイト制作環境を支援します。\n\n- ✅ EJS, Sass, JavaScript自動ビルド対応\n- ✅ 素のHTML, CSS, JavaScriptを書けるので導入コストが低い\n- ✅ ブラウザ自動リロード対応\n- ✅ EJSによるヘッダー、フッターの部品の共通化が可能\n- ✅ ブラウザキャッシュ(バージョニング)対策\n- ✅ ベンダープレフィックスの自動付与\n- ✅ purgeCssによる未使用スタイルの自動除去\n- ✅ 本番ビルドによるファイル圧縮(Minify)対応\n- ✅ 出力HTML自動整形\n- ✅ Netlifyにデプロイ対応\n\n昨今の複雑なフロントエンドの開発環境やデプロイ環境を数コマンドで構築できるようにしました。\n環境作りが苦手だったり面倒だと感じている方にぜひ使っていただきたいです。\n\n## 要件\n\n- [Git](https://git-scm.com)\n- [Nodejs(npm)](https://nodejs.org/ja)\n- [Netlifyアカウント](https://www.netlify.com)(GitHubアカウント)\n\nGitやNodejsのインストールは [wiki](https://github.com/ucan-lab/mixed-nuts/wiki) を参照ください。\n\n## 開発環境構築\n\n### インストール\n\n```\n$ git clone https://github.com/ucan-lab/mixed-nuts ./example\n$ cd example\n$ npm install\n```\n\n### Git初期化\n\n```\n$ rm -rf .git \u0026\u0026 git init \u0026\u0026 git add . \u0026\u0026 git commit -m \"first commit\"\n$ git remote add origin 追加したいリポジトリ\n$ git push -u origin master\n```\n\n## ビルド\n\n### ビルド(通常)\n\n```\n$ npm run dev\n```\n\n### ビルド(アセット監視モード、ブラウザ自動リロード)\n\n```\n$ npm run watch\n$ npm run gulp\n```\n\nそれぞれ別窓でコマンドを実行してください。\n\n### ビルド(最適化)\n\n```\n$ npm run prod\n```\n\ncss, javascriptファイルが最適化(Minify)されます。\n\n## デプロイ(手動)\n\n高機能ホスティングサービス [Netlify](https://www.netlify.com) を使って簡単にデプロイ＆公開できます。\n\n```\n$ npm run dep\n\n? No site id specified, create a new site: Yes\n? Path to deploy? (current dir): public\n```\n\n初回デプロイ実行時はユーザー登録＆認証確認、サイト作成＆公開ディレクトリ設定が行われます。\u003cbr\u003e\n基本的に無料で使用できます。また有料になりますがアクセスコントロールでパスワード制限をかけることも可能です。\u003cbr\u003e\n詳細なサイト設定は [netlify公式ドキュメント](https://www.netlify.com/docs) を参照ください。\n\n## デプロイ(自動)\n\n[wiki参照](https://github.com/ucan-lab/mixed-nuts/wiki/Netlify-%E8%87%AA%E5%8B%95%E3%83%87%E3%83%97%E3%83%AD%E3%82%A4%E8%A8%AD%E5%AE%9A)\n\n## 各種ライブラリ\n\n項目 | 値 | 補足\n--- | --- | --- |\nHTMLテンプレートエンジン | [EJS](http://ejs.co) | 素のHTMLもそのまま記述できます。\nCSSメタ言語 | [Sass(Scss記法)](http://sass-lang.com) | 素のCSSもそのまま記述できます。\nブラウザ自動リロード | [Browsersync](https://browsersync.io) | 保存と同時にブラウザを再読み込みします。\nLaravel Mix | [Laravel Mix](https://github.com/JeffreyWay/laravel-mix) | [Laravel Mix](https://github.com/JeffreyWay/laravel-mix) をベースに [Bootstrap3](https://getbootstrap.com)/[Font Awesome](http://fontawesome.io)/[Vue.js](https://jp.vuejs.org)/[jQuery](https://jquery.com)/[lodash](https://lodash.com) などの便利なライブラリを利用可能です。\nホスティングサービス | [Netlify](https://www.netlify.com) | 簡単にHTMLを公開できます。\nその他 | バージョニング(ブラウザキャッシュ対策)、ベンダープレフィックス自動付加、未使用スタイルの除去、本番・開発ビルドの圧縮切替、出力HTML自動整形 | ---\n\n## 補足等\n\n[https://github.com/ucan-lab/mixed-nuts/wiki](https://github.com/ucan-lab/mixed-nuts/wiki)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fucan-lab%2Fmixed-nuts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fucan-lab%2Fmixed-nuts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fucan-lab%2Fmixed-nuts/lists"}