static-site-boilerplate

A better workflow for building modern static websites.

Github星跟蹤圖

Static Site Boilerplate   Tweet

Build Status
devDependency Status
License: MIT
Support on Open Collective
Join the chat at https://gitter.im/ericalli/static-site-boilerplate

Discuss it on Product Hunt ?

Static Site Boilerplate

Installation

git clone https://github.com/ericalli/static-site-boilerplate
cd static-site-boilerplate
rm -rf .git && git init

Features

  • Modern Technologies: Full support for HTML5, JavaScript (Vanilla and ES6) and CSS (Sass and PostCSS)
  • Built-in Server: Local development server with hot reloading
  • Performance Tuning: CSS and JavaScript transpilation, bundling, autoprefixing, and minification
  • Image Optimization: Optimizes images for loading speed
  • Favicon Generation: Automatically generates all favicons for Web, Apple and Android devices from one image file
  • Code Linting: Full support for JavaScript (ESLint) and CSS (StyleLint) linting
  • Sitemap & Robots.txt Generation: Automatically generates a sitemap.xml and robots.txt files
  • Setup Wizard: Optionally install helpful libraries and snippets including:
    • CSS Resets: normalize.css reset.css or sanitize.css
    • jQuery
    • Google Analytics
  • Cutting Edge: Uses Webpack for processing and bundling your code
  • Deployment: Built-in support for deployment via FTP or Netlify

Browser Support

  • Chrome (latest 2)
  • Edge (latest 2)
  • Firefox (latest 2)
  • Internet Explorer 9+
  • Opera (latest 2)
  • Safari (latest 2)

This is fully dependent on your code and doesn't mean that Static Site Boilerplate won't work in older browsers, just that we'll ensure compatibility with the ones mentioned above.

Support & Contributing

For general questions about Static Site Boilerplate, tweet at @ericalli.

Anyone is welcome to contribute. If you decide to get involved, please take a moment and check out the following:

Sponsors

Become a sponsor and get your company in front of thousands of engaged front end developers and support this project!

Become a sponsor

Author

Eric Alli

License

The code is available under the MIT license.

主要指標

概覽
名稱與所有者ericalli/static-site-boilerplate
主編程語言JavaScript
編程語言JavaScript (語言數: 3)
平台
許可證MIT License
所有者活动
創建於2018-11-29 14:27:50
推送於2022-05-14 23:01:03
最后一次提交2022-05-14 16:01:03
發布數6
最新版本名稱1.1.0 (發布於 )
第一版名稱v1.0.0-beta.1 (發布於 )
用户参与
星數1.7k
關注者數24
派生數163
提交數110
已啟用問題?
問題數50
打開的問題數14
拉請求數8
打開的拉請求數1
關閉的拉請求數18
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?