hexo-component-inferno 1.1.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/hexo/generator/insight.js +8 -1
- package/lib/hexo/generator/insight.test.js +16 -0
- package/lib/hexo/helper/cdn.js +3 -9
- package/lib/hexo/helper/cdn.test.js +9 -37
- package/lib/hexo/tag/message.test.js +17 -8
- package/lib/hexo/tag/tabs.js +16 -15
- package/lib/hexo/tag/tabs.test.js +19 -10
- package/lib/schema/comment/twikoo.json +28 -0
- package/lib/schema/comment/waline.json +34 -22
- package/lib/schema/schema/comment/changyan.json +21 -0
- package/lib/schema/schema/comment/disqus.json +17 -0
- package/lib/schema/schema/comment/disqusjs.json +53 -0
- package/lib/schema/schema/comment/facebook.json +13 -0
- package/lib/schema/schema/comment/gitalk.json +81 -0
- package/lib/schema/schema/comment/gitment.json +47 -0
- package/lib/schema/schema/comment/isso.json +17 -0
- package/lib/schema/schema/comment/livere.json +17 -0
- package/lib/schema/schema/comment/twikoo.json +28 -0
- package/lib/schema/schema/comment/utterances.json +59 -0
- package/lib/schema/schema/comment/valine.json +105 -0
- package/lib/schema/schema/comment/waline.json +176 -0
- package/lib/schema/schema/donate/afdian.json +17 -0
- package/lib/schema/schema/donate/alipay.json +17 -0
- package/lib/schema/schema/donate/buymeacoffee.json +17 -0
- package/lib/schema/schema/donate/patreon.json +17 -0
- package/lib/schema/schema/donate/paypal.json +22 -0
- package/lib/schema/schema/donate/wechat.json +17 -0
- package/lib/schema/schema/misc/manifest.json +66 -0
- package/lib/schema/schema/misc/meta.json +11 -0
- package/lib/schema/schema/misc/open_graph.json +78 -0
- package/lib/schema/schema/misc/poly_links.json +35 -0
- package/lib/schema/schema/misc/structured_data.json +47 -0
- package/lib/schema/schema/plugin/baidu_analytics.json +14 -0
- package/lib/schema/schema/plugin/bing_webmaster.json +14 -0
- package/lib/schema/schema/plugin/busuanzi.json +7 -0
- package/lib/schema/schema/plugin/cnzz.json +19 -0
- package/lib/schema/schema/plugin/cookie_consent.json +38 -0
- package/lib/schema/schema/plugin/gallery.json +7 -0
- package/lib/schema/schema/plugin/google_analytics.json +14 -0
- package/lib/schema/schema/plugin/hotjar.json +14 -0
- package/lib/schema/schema/plugin/katex.json +7 -0
- package/lib/schema/schema/plugin/mathjax.json +7 -0
- package/lib/schema/schema/plugin/outdated_browser.json +7 -0
- package/lib/schema/schema/plugin/progressbar.json +7 -0
- package/lib/schema/schema/plugin/statcounter.json +19 -0
- package/lib/schema/schema/plugin/twitter_conversion_tracking.json +14 -0
- package/lib/schema/schema/search/algolia.json +13 -0
- package/lib/schema/schema/search/baidu.json +13 -0
- package/lib/schema/schema/search/google_cse.json +17 -0
- package/lib/schema/schema/search/insight.json +19 -0
- package/lib/schema/schema/share/addthis.json +17 -0
- package/lib/schema/schema/share/addtoany.json +13 -0
- package/lib/schema/schema/share/bdshare.json +13 -0
- package/lib/schema/schema/share/sharejs.json +13 -0
- package/lib/schema/schema/share/sharethis.json +17 -0
- package/lib/schema/schema/widget/adsense.json +21 -0
- package/lib/schema/schema/widget/archives.json +13 -0
- package/lib/schema/schema/widget/categories.json +13 -0
- package/lib/schema/schema/widget/followit.json +26 -0
- package/lib/schema/schema/widget/links.json +47 -0
- package/lib/schema/schema/widget/recent_posts.json +13 -0
- package/lib/schema/schema/widget/subscribe_email.json +22 -0
- package/lib/schema/schema/widget/tags.json +30 -0
- package/lib/schema/schema/widget/toc.json +31 -0
- package/lib/schema/search/insight.json +6 -0
- package/lib/schema/widget/tags.json +17 -0
- package/lib/view/comment/changyan.js +2 -2
- package/lib/view/comment/disqus.js +2 -2
- package/lib/view/comment/disqusjs.js +2 -2
- package/lib/view/comment/facebook.js +2 -2
- package/lib/view/comment/gitalk.js +2 -2
- package/lib/view/comment/gitment.js +2 -2
- package/lib/view/comment/isso.js +2 -2
- package/lib/view/comment/livere.js +2 -2
- package/lib/view/comment/twikoo.js +113 -0
- package/lib/view/comment/utterances.js +3 -3
- package/lib/view/comment/valine.js +3 -3
- package/lib/view/comment/waline.js +49 -33
- package/lib/view/common/article_media.js +2 -2
- package/lib/view/donate/afdian.js +2 -2
- package/lib/view/donate/alipay.js +2 -2
- package/lib/view/donate/buymeacoffee.js +2 -2
- package/lib/view/donate/patreon.js +2 -2
- package/lib/view/donate/paypal.js +2 -2
- package/lib/view/donate/wechat.js +2 -2
- package/lib/view/misc/article_licensing.js +2 -2
- package/lib/view/misc/meta.js +2 -2
- package/lib/view/misc/open_graph.js +12 -4
- package/lib/view/misc/paginator.js +2 -2
- package/lib/view/misc/structured_data.js +2 -2
- package/lib/view/misc/web_app.js +2 -2
- package/lib/view/plugin/baidu_analytics.js +2 -2
- package/lib/view/plugin/bing_webmaster.js +2 -2
- package/lib/view/plugin/busuanzi.js +2 -2
- package/lib/view/plugin/cnzz.js +2 -2
- package/lib/view/plugin/cookie_consent.js +2 -2
- package/lib/view/plugin/gallery.js +2 -2
- package/lib/view/plugin/google_analytics.js +2 -2
- package/lib/view/plugin/hotjar.js +2 -2
- package/lib/view/plugin/katex.js +2 -2
- package/lib/view/plugin/mathjax.js +2 -2
- package/lib/view/plugin/outdated_browser.js +2 -2
- package/lib/view/plugin/progressbar.js +2 -2
- package/lib/view/plugin/statcounter.js +2 -2
- package/lib/view/plugin/twitter_conversion_tracking.js +2 -2
- package/lib/view/search/algolia.js +2 -2
- package/lib/view/search/baidu.js +2 -2
- package/lib/view/search/google_cse.js +2 -2
- package/lib/view/search/insight.js +2 -2
- package/lib/view/share/addthis.js +2 -2
- package/lib/view/share/addtoany.js +2 -2
- package/lib/view/share/bdshare.js +2 -2
- package/lib/view/share/sharejs.js +2 -2
- package/lib/view/share/sharethis.js +2 -2
- package/lib/view/widget/adsense.js +2 -2
- package/lib/view/widget/archives.js +2 -2
- package/lib/view/widget/categories.js +2 -2
- package/lib/view/widget/followit.js +2 -2
- package/lib/view/widget/links.js +2 -2
- package/lib/view/widget/recent_posts.js +2 -2
- package/lib/view/widget/subscribe_email.js +2 -2
- package/lib/view/widget/tags.js +16 -15
- package/lib/view/widget/toc.js +2 -2
- package/package.json +9 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hexo-component-inferno",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "A collection of Inferno.js layout components and utility scripts for Hexo",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"repository": "https://github.com/ppoffice/hexo-component-inferno",
|
|
@@ -12,13 +12,14 @@
|
|
|
12
12
|
"scripts": {
|
|
13
13
|
"test": "jest lib",
|
|
14
14
|
"test-cov": "jest lib --coverage",
|
|
15
|
-
"lint": "eslint {src,asset,fixture}/**/*.{js,jsx}",
|
|
15
|
+
"lint": "eslint '{src,asset,fixture}/**/*.{js,jsx}'",
|
|
16
16
|
"_format": "prettier \"*.{json,babelrc,prettierrc,md}\" \"{.github,*[^lib]}/**/*.{js,jsx,json,yml}\"",
|
|
17
17
|
"format": "npm run _format -- --write",
|
|
18
18
|
"format-check": "npm run _format -- --check",
|
|
19
19
|
"docs": "jsdoc src/**/* -d doc -t node_modules/minami",
|
|
20
20
|
"build": "babel src --out-dir lib && cp -r src/schema lib/schema",
|
|
21
|
-
"clean": "rm -rf lib doc coverage"
|
|
21
|
+
"clean": "rm -rf lib doc coverage",
|
|
22
|
+
"prepare": "npm run build"
|
|
22
23
|
},
|
|
23
24
|
"directories": {
|
|
24
25
|
"lib": "./lib"
|
|
@@ -42,10 +43,8 @@
|
|
|
42
43
|
"eslint-plugin-jest": "^25.3.4",
|
|
43
44
|
"eslint-plugin-json": "^3.1.0",
|
|
44
45
|
"eslint-plugin-react": "^7.18.0",
|
|
45
|
-
"hexo": "^
|
|
46
|
-
"
|
|
47
|
-
"hexo-renderer-markdown": "^1.3.0",
|
|
48
|
-
"hexo-util": "^2.2.0",
|
|
46
|
+
"hexo-renderer-marked": "^5.0.0",
|
|
47
|
+
"html-minifier": "^4.0.0",
|
|
49
48
|
"inferno-server": "^7.4.1",
|
|
50
49
|
"jest": "^27.4.7",
|
|
51
50
|
"jsdoc": "^3.6.3",
|
|
@@ -54,15 +53,13 @@
|
|
|
54
53
|
},
|
|
55
54
|
"dependencies": {
|
|
56
55
|
"ajv": "^8.8.2",
|
|
56
|
+
"hexo": "^6.0.0",
|
|
57
|
+
"hexo-pagination": "^2.0.0",
|
|
58
|
+
"hexo-util": "^2.2.0",
|
|
57
59
|
"inferno": "^7.3.3",
|
|
58
60
|
"inferno-create-element": "^7.3.3",
|
|
59
61
|
"js-yaml": "^4.1.0",
|
|
60
62
|
"moment": "^2.24.0",
|
|
61
63
|
"semver": "^7.1.1"
|
|
62
|
-
},
|
|
63
|
-
"peerDependencies": {
|
|
64
|
-
"hexo": "^6.0.0",
|
|
65
|
-
"hexo-pagination": "^2.0.0",
|
|
66
|
-
"hexo-util": "^2.2.0"
|
|
67
64
|
}
|
|
68
65
|
}
|