-
Notifications
You must be signed in to change notification settings - Fork 34
/
package.json
70 lines (70 loc) · 2.52 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
{
"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": {
"toc": "node utils/gitbook-toc.js",
"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 '{}' ';'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/frontity/docs.git"
},
"homepage": "https://github.com/frontity/docs#readme",
"devDependencies": {
"dictionary-en-au": "^2.2.1",
"husky": "^4.2.5",
"lint-staged": "^10.2.2",
"markdown-link-check": "^3.8.1",
"markdown-toc": "^1.2.0",
"prettier": "^2.2.1",
"textlint": "^11.6.3",
"textlint-filter-rule-comments": "^1.2.2",
"textlint-rule-terminology": "^2.1.4",
"uslug": "^1.0.4"
},
"lint-staged": {
"*.md": "textlint"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged -v"
}
},
"prettier": {},
"textlint": {
"filters": {
"comments": true
},
"rules": {
"terminology": {
"defaultTerms": true,
"terms": [
"Frontity",
"PHP",
"Vercel",
"Layer0",
[
"zeit",
"Vercel"
]
],
"exclude": [
"HTTPS"
],
"severity": "warning"
}
}
}
}