diff --git a/README.md b/README.md index 666edf3..9981c07 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,10 @@ # hexo-offline +[![npm version](https://img.shields.io/npm/v/hexo-offline.svg?style=flat-square)](https://www.npmjs.com/package/hexo-offline) [![Build Status](https://img.shields.io/travis/JLHwung/hexo-offline.svg?style=flat-square)](https://travis-ci.org/JLHwung/hexo-offline) +[![AppVeyor build status](https://img.shields.io/appveyor/ci/JLHwung/hexo-offline.svg?style=flat-square)](https://ci.appveyor.com/project/JLHwung/hexo-offline) [![Coverage Status](https://img.shields.io/coveralls/JLHwung/hexo-offline.svg?style=flat-square)](https://coveralls.io/github/JLHwung/hexo-offline) +[![Dependencies Status](https://img.shields.io/david/JLHwung/hexo-offline.svg?style=flat-square)](https://david-dm.org/JLHwung/hexo-offline) +[![Dev Dependencies Status](https://img.shields.io/david/dev/JLHwung/hexo-offline.svg?style=flat-square)](https://david-dm.org/JLHwung/hexo-offline?type=dev) hexo-offline is intended to provide offline experience for [hexo](https://hexo.io) built static website. It uses *ServiceWorker* under the hood. Simply install this plugin to your website and it should be offline ready by caching most of static assets. @@ -17,6 +21,9 @@ hexo-offline aims to provide out-of-the-box offline enhancement to your hexo pro # offline config passed to sw-precache offline: maximumFileSizeToCacheInBytes: 5242880 + staticFileGlobs: + - public/**/*.{js,html,css,png,jpg,gif,svg,eot,ttf,woff} + stripPrefix: public verbose: true ```