forked from stzn/the-swift-programming-language-jp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
56 lines (56 loc) · 2.14 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"name": "the-swift-programming-language-jp",
"title": "The Swift Programming Language日本語版",
"version": "1.0.0",
"description": "[The Swift Programming Language](https://docs.swift.org/swift-book/)の日本語版です。",
"main": "index.js",
"scripts": {
"textlint": "textlint",
"textlintf": "textlint --fix",
"lint": "node -e \"var shell=require('shelljs');var files=shell.find(['./**/*.md']).filter(function(file){return !file.includes('node_modules')}).join(' ');if(shell.exec('textlint -f pretty-error '+files).code!==0){shell.exit(1)};\"",
"prepare": "husky install",
"lint-staged": "lint-staged",
"build": "honkit build",
"serve": "honkit serve",
"deploy": "gh-pages -d _book"
},
"repository": {
"type": "git",
"url": "git+https://github.com/stzn/the-swift-programming-language-jp.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/stzn/the-swift-programming-language-jp/issues"
},
"homepage": "https://github.com/stzn/the-swift-programming-language-jp#readme",
"lint-staged": {
"*.md": "npm run textlint -f pretty-error"
},
"devDependencies": {
"@proofdict/textlint-rule-proofdict": "^3.1.1",
"gh-pages": "^3.2.3",
"gitbook-plugin-back-to-top-button": "^0.1.4",
"gitbook-plugin-collapsible-chapters": "^0.1.8",
"gitbook-plugin-copy-code-button": "^0.0.2",
"gitbook-plugin-custom-favicon": "^0.0.4",
"gitbook-plugin-edit-link": "^2.0.2",
"gitbook-plugin-expand-active-chapter": "^1.0.0",
"gitbook-plugin-hide-published-with": "^0.0.1",
"gitbook-plugin-insert-logo": "^0.1.5",
"gitbook-plugin-intopic-toc": "^1.1.1",
"gitbook-plugin-katex": "^1.1.4",
"gitbook-plugin-prism": "^2.4.0",
"honkit": "^3.7.0",
"husky": "^6.0.0",
"lint-staged": "^11.0.0",
"shelljs": "^0.8.4",
"textlint": "^12.0.2",
"textlint-filter-rule-comments": "^1.2.2",
"textlint-rule-detect-bad-chars": "^1.0.2",
"textlint-rule-no-mix-dearu-desumasu": "^5.0.0",
"textlint-rule-period-in-list-item": "^0.3.2",
"textlint-rule-preset-ja-spacing": "^2.1.1",
"textlint-rule-preset-jtf-style": "^2.3.8"
}
}