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?
已存档?
是复刻?
已锁定?
是镜像?
是私有?