-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
135 lines (135 loc) · 4.09 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"name": "remark-preset-ybiquitous",
"version": "0.1.2",
"description": "Remark preset for ybiquitous",
"author": "Masafumi Koba",
"license": "MIT",
"repository": "ybiquitous/remark-preset-ybiquitous",
"type": "module",
"exports": "./index.js",
"files": [
"index.js"
],
"keywords": [
"remark",
"remark-preset",
"markdown"
],
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"dependencies": {
"remark-frontmatter": "^4.0.1",
"remark-gfm": "^3.0.0",
"remark-lint-code-block-syntax": "^0.3.0",
"remark-lint-file-extension": "^2.1.0",
"remark-lint-final-definition": "^3.1.0",
"remark-lint-final-newline": "^2.1.0",
"remark-lint-first-heading-level": "^3.1.0",
"remark-lint-heading-increment": "^3.1.0",
"remark-lint-linebreak-style": "^3.1.0",
"remark-lint-no-consecutive-blank-lines": "^4.1.1",
"remark-lint-no-duplicate-defined-urls": "^2.1.0",
"remark-lint-no-duplicate-headings": "^3.1.0",
"remark-lint-no-emphasis-as-heading": "^3.1.0",
"remark-lint-no-empty-url": "^3.1.0",
"remark-lint-no-file-name-articles": "^2.1.0",
"remark-lint-no-file-name-consecutive-dashes": "^2.1.0",
"remark-lint-no-file-name-irregular-characters": "^2.1.0",
"remark-lint-no-file-name-mixed-case": "^2.1.0",
"remark-lint-no-file-name-outer-dashes": "^2.1.0",
"remark-lint-no-heading-like-paragraph": "^3.1.0",
"remark-lint-no-heading-punctuation": "^3.1.0",
"remark-lint-no-missing-blank-lines": "^3.1.0",
"remark-lint-no-multiple-toplevel-headings": "^3.1.0",
"remark-lint-no-paragraph-content-indent": "^4.1.0",
"remark-lint-no-reference-like-url": "^3.1.0",
"remark-lint-no-shell-dollars": "^3.1.0",
"remark-lint-no-table-indentation": "^4.1.0",
"remark-lint-no-tabs": "^3.1.0",
"remark-lint-no-unneeded-full-reference-image": "^3.1.0",
"remark-lint-no-unneeded-full-reference-link": "^3.1.0",
"remark-lint-strikethrough-marker": "^2.1.0",
"remark-lint-table-pipes": "^4.1.0",
"remark-preset-lint-recommended": "^6.1.1",
"remark-validate-links": "^11.0.2"
},
"devDependencies": {
"eslint-config-ybiquitous": "^14.3.0",
"remark-cli": "^10.0.0",
"ybiq": "^13.7.1"
},
"scripts": {
"test": "remark .",
"test:watch": "remark . --watch",
"test:coverage": "exit 1",
"lint:js": "eslint --cache --ext=js,jsx,cjs,mjs,ts,tsx .",
"lint:js:fix": "npm run lint:js -- --fix",
"lint:md": "remark . --frail",
"lint:md:fix": "remark . --output",
"lint": "npm-run-all --print-label --parallel lint:* prettier:check",
"prettier": "prettier --ignore-path .gitignore .",
"prettier:check": "npm run prettier -- --check",
"prettier:write": "npm run prettier -- --write",
"format": "npm-run-all --print-label --parallel lint:*:fix prettier:write",
"clean": "git clean -dx --force --exclude=node_modules --exclude=.husky",
"prerelease": "git switch main && git pull && npm ci && npm run clean && npm test && npm run lint && npm run clean",
"release": "standard-version",
"release:dry-run": "standard-version --dry-run",
"prepare": "husky install"
},
"lint-staged": {
"*.{js,jsx,cjs,mjs,ts,tsx}": "eslint --cache --fix",
"!(*.snap)": "prettier --write",
"!(CHANGELOG).md": "remark --frail"
},
"standard-version": {
"sign": true,
"scripts": {
"postchangelog": "prettier --write CHANGELOG.md"
}
},
"remarkConfig": {
"plugins": [
"./index.js"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"body-max-line-length": [
1,
"always",
100
]
}
},
"eslintConfig": {
"root": true,
"extends": [
"ybiquitous/node"
],
"ignorePatterns": [
"coverage",
"dist",
"tmp"
],
"reportUnusedDisableDirectives": true,
"rules": {
"import/max-dependencies": [
"warn",
{
"max": 50
}
],
"import/no-anonymous-default-export": [
"error",
{
"allowObject": true
}
]
}
}
}