forked from frontity/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
107 lines (107 loc) · 3.56 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "frontity-docs",
"version": "1.0.0",
"description": "This repository contains the human-created technical docs, guides and reference material for Frontity.",
"directories": {
"doc": "docs"
},
"license": "Apache-2.0",
"scripts": {
"check-links": "find docs -name '*.md' -not -path './node_modules/*' -maxdepth 2 -exec markdown-link-check '{}' --config config/mlc.config.json ';'",
"check-links:quiet": "find docs -name '*.md' -not -path './node_modules/*' -maxdepth 2 -exec markdown-link-check -q -v '{}' --config config/mlc.config.json ';'",
"textlint:all": "find docs -name '*.md' -not -path './node_modules/*' -maxdepth 2 -exec textlint '{}' ';'",
"textlint:all:only-errors": "find docs -name '*.md' -not -path './node_modules/*' -maxdepth 2 -exec textlint --quiet '{}' ';'",
"textlint:all:terminology": "find docs -name '*.md' -not -path './node_modules/*' -maxdepth 2 -exec textlint -c config/terminology.config.json '{}' ';'",
"textlint:all:terminology:fix": "find docs -name '*.md' -not -path './node_modules/*' -maxdepth 2 -exec textlint --fix -c config/terminology.config.json '{}' ';'",
"textlint:all:rousseau": "find docs -name '*.md' -not -path './node_modules/*' -maxdepth 2 -exec textlint --no-textlintrc --rule textlint-rule-rousseau '{}' ';'",
"textlint:all:write-good": "find docs -name '*.md' -not -path './node_modules/*' -maxdepth 2 -exec textlint --no-textlintrc --rule textlint-rule-write-good '{}' ';'",
"all-contributors:generate": "all-contributors generate"
},
"repository": {
"type": "git",
"url": "git+https://github.com/frontity/gitbook-docs.git"
},
"homepage": "https://github.com/frontity/gitbook-docs#readme",
"devDependencies": {
"all-contributors-cli": "^6.15.0",
"dictionary-en-au": "^2.2.1",
"husky": "^4.2.5",
"lint-staged": "^10.2.2",
"markdown-link-check": "^3.8.1",
"textlint": "^11.6.3",
"textlint-filter-rule-comments": "^1.2.2",
"textlint-rule-alex": "^1.3.1",
"textlint-rule-common-misspellings": "^1.0.1",
"textlint-rule-en-capitalization": "^2.0.2",
"textlint-rule-no-empty-section": "^1.1.0",
"textlint-rule-no-exclamation-question-mark": "^1.0.2",
"textlint-rule-one-sentence-per-line": "^1.0.2",
"textlint-rule-period-in-list-item": "^0.3.2",
"textlint-rule-rousseau": "^1.4.6",
"textlint-rule-spelling": "^0.2.0",
"textlint-rule-terminology": "^2.1.4",
"textlint-rule-write-good": "^1.6.2"
},
"lint-staged": {
"*.md": "textlint"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged -v"
}
},
"textlint": {
"filters": {
"comments": true
},
"rules": {
"alex": {
"allow": [],
"severity": "warning"
},
"en-capitalization": {
"severity": "warning"
},
"no-empty-section": {
"severity": "warning"
},
"one-sentence-per-line": {
"severity": "warning"
},
"period-in-list-item": {
"severity": "warning"
},
"rousseau": {
"showLevels": [
"suggestion",
"warning",
"error"
],
"ignoreInlineNodeTypes": [
"Code",
"Html"
],
"severity": "warning"
},
"terminology": {
"defaultTerms": true,
"terms": [
"Frontity",
"PHP",
"Vercel",
[
"zeit",
"Vercel"
]
],
"exclude": [
"HTTPS"
]
},
"write-good": {
"severity": "warning"
}
}
},
"dependencies": {}
}