mirror of
https://github.com/zhigang1992/apollo.git
synced 2026-06-16 02:14:28 +08:00
By virtue of a relatively simple `hexo-browsersync` package[0], which implements BrowserSync[1] in Hexo, this change brings support for automatically reloading the browser when the source content has changed. No more pressing "Reload" in order to see the changes to the Markdown source when working on documentation! 🎉 [0]: https://npm.im/hexo-browsersync [1]: https://www.browsersync.io
27 lines
657 B
JSON
27 lines
657 B
JSON
{
|
|
"name": "hexo-site",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"hexo": {
|
|
"version": "3.7.1"
|
|
},
|
|
"devDependencies": {
|
|
"apollo-hexo-config": "1.0.8",
|
|
"chexo": "1.0.5",
|
|
"hexo": "3.7.1",
|
|
"hexo-browsersync": "0.3.0",
|
|
"hexo-prism-plus": "1.0.0",
|
|
"hexo-renderer-ejs": "0.3.1",
|
|
"hexo-renderer-less": "0.2.0",
|
|
"hexo-renderer-marked": "0.3.2",
|
|
"hexo-server": "0.3.2",
|
|
"meteor-theme-hexo": "1.0.16"
|
|
},
|
|
"scripts": {
|
|
"start": "npm run build && chexo apollo-hexo-config -- server",
|
|
"build": "chexo apollo-hexo-config -- generate",
|
|
"clean": "hexo clean",
|
|
"test": "npm run clean; npm run build"
|
|
}
|
|
}
|