Skip to content

Commit f1be2ab

Browse files
committed
Merge pull request #107 from azu/update-meta
feat(readme): 更新情報、ハッシュタグ、ボタンを追加
2 parents 72a3e08 + 947828c commit f1be2ab

File tree

4 files changed

+27
-4
lines changed

4 files changed

+27
-4
lines changed

.textlintrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"filters": {
3+
"comments": true
4+
},
25
"rules": {
36
"max-ten": {
47
"max": 3

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,22 @@
99
- [ePub形式](https://www.gitbook.com/download/epub/book/azu/javascript-plugin-architecture)
1010
- [Mobi形式](https://www.gitbook.com/download/mobi/book/azu/javascript-plugin-architecture)
1111

12+
[GitHub](https://github.com/azu/JavaScript-Plugin-Architecture)上で直接Markdownファイルを読むこともできますが、
13+
その場合は[Web版](https://azu.gitbooks.io/javascript-plugin-architecture/content/)で読むことをオススメします。
14+
15+
Twitterのハッシュタグは[#js_plugin_book](https://twitter.com/search?f=tweets&q=%23js_plugin_book&src=typd "Twitter #js_plugin_book")
16+
17+
更新情報は[RSS](https://github.com/azu/JavaScript-Plugin-Architecture/releases.atom)[リリースノート](https://github.com/azu/JavaScript-Plugin-Architecture/releases)から見ることができます。
18+
19+
<!-- textlint-disable -->
20+
21+
<a href="https://twitter.com/share" class="twitter-share-button" data-text="JavaScript Plugin Architecture" data-size="large" data-hashtags="js_plugin_book" data-dnt="true">Tweet</a>
22+
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
23+
<a href="http://b.hatena.ne.jp/entry/https://github.com/azu/JavaScript-Plugin-Architecture" class="hatena-bookmark-button" data-hatena-bookmark-title="JavaScript Plugin Architecture" data-hatena-bookmark-layout="standard-balloon" data-hatena-bookmark-lang="ja" title="はてなブックマークに追加"><img src="https://b.st-hatena.com/images/entry-button/[email protected]" alt="はてなブックマークに追加" width="20" height="20" style="border: none;" /></a><script type="text/javascript" src="https://b.st-hatena.com/js/bookmark_button.js" charset="utf-8" async="async"></script>
24+
25+
<!-- textlint-enable -->
26+
27+
1228
## はじめに
1329

1430
JavaScriptの世界では1つの大きなライブラリよりも小さいなものを組み合わせていくようなスタイルが多く見られます。

coverage.textlintrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"filters": {
3+
"comments": true
4+
},
25
"rules": {
36
// strictオプションの有効化
47
"max-ten": {

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
"build": "gitbook build",
2424
"eslint": "eslint src/**/*.js",
2525
"eslint:md": "eslint -c .md.eslintrc --ext .md ja/**/*.md",
26-
"textlint": "summary-to-path | xargs textlint -f pretty-error",
26+
"textlint": "summary-to-path | xargs textlint --experimental -f pretty-error",
2727
"test:example": "find ./src -name '*-example.js' | xargs babel-node",
2828
"test:js": "mocha",
2929
"test": "npm-run-all --parallel test:js test:example textlint eslint:md eslint build",
30-
"textlint:strict": "summary-to-path | xargs textlint -c coverage.textlintrc",
31-
"textlint:coverage": "summary-to-path | xargs textlint -c coverage.textlintrc -f lcov | lcov-summary",
32-
"travis:coverage": "summary-to-path | xargs textlint -c coverage.textlintrc -f codecov | codecov"
30+
"textlint:strict": "summary-to-path | xargs textlint --experimental -c coverage.textlintrc",
31+
"textlint:coverage": "summary-to-path | xargs textlint --experimental -c coverage.textlintrc -f lcov | lcov-summary",
32+
"travis:coverage": "summary-to-path | xargs textlint --experimental -c coverage.textlintrc -f codecov | codecov"
3333
},
3434
"keywords": [
3535
"ebook",
@@ -65,6 +65,7 @@
6565
"remark": "^4.1.1",
6666
"stemming-x-keywords": "^1.0.3",
6767
"textlint": "^6.9.0",
68+
"textlint-filter-rule-comments": "^1.2.1",
6869
"textlint-formatter-codecov": "^1.0.2",
6970
"textlint-formatter-lcov": "^1.0.2",
7071
"textlint-rule-max-kanji-continuous-len": "^1.0.1",

0 commit comments

Comments
 (0)