-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
110 lines (110 loc) · 2.94 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
{
"name": "remark-lint-no-mixed-case-url-hash",
"version": "0.0.2",
"description": "A remark-lint rule disallows a mixed-case URL hash",
"author": "Masafumi Koba",
"license": "MIT",
"keywords": [
"remark-lint",
"remark-lint-rule"
],
"repository": "ybiquitous/remark-lint-no-mixed-case-url-hash",
"type": "module",
"exports": "./index.js",
"files": [
"index.js"
],
"dependencies": {
"unified-lint-rule": "^3.0.0",
"unist-util-visit": "^5.0.0"
},
"devDependencies": {
"@tsconfig/strictest": "^2.0.5",
"eslint-config-ybiquitous": "^21.1.0",
"eslint-plugin-jest": "^28.10.0",
"jest": "^29.7.0",
"remark": "^15.0.1",
"remark-preset-ybiquitous": "^0.4.4",
"typescript": "^5.7.2",
"ybiq": "^17.4.0"
},
"scripts": {
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
"test:watch": "npm --ignore-scripts test -- --watch",
"test:coverage": "npm --ignore-scripts test -- --coverage",
"pretest": "npm run lint",
"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:types": "tsc --noEmit",
"lint:types:watch": "npm run lint:types -- --watch",
"lint:commit": "commitlint --from HEAD~10",
"lint": "npm-run-all --print-label --silent --parallel lint:*",
"prettier": "prettier --cache .",
"lint:styles": "npm run prettier -- --check",
"lint:styles:fix": "npm run prettier -- --write",
"format": "npm-run-all --print-label --silent --parallel lint:*:fix",
"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 clean",
"release": "standard-version",
"release:dry-run": "standard-version --dry-run",
"prepare": "husky"
},
"lint-staged": {
"*.{js,jsx,cjs,mjs,ts,tsx}": "eslint --cache --fix",
"!(**/*.snap|.husky/**)": "prettier --cache --write",
"!(CHANGELOG).md": "remark --frail"
},
"standard-version": {
"sign": true,
"scripts": {
"postchangelog": "prettier --write CHANGELOG.md"
}
},
"remarkConfig": {
"plugins": [
"remark-preset-ybiquitous"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"body-max-line-length": [
1,
"always",
300
]
}
},
"eslintConfig": {
"root": true,
"extends": [
"ybiquitous/node"
],
"ignorePatterns": [
"coverage",
"dist",
"tmp"
],
"reportUnusedDisableDirectives": true,
"overrides": [
{
"files": "index.js",
"rules": {
"prefer-destructuring": "off",
"dot-notation": "off"
}
},
{
"files": "**/*.test.js",
"extends": "plugin:jest/recommended"
}
]
},
"publishConfig": {
"provenance": true
}
}