-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
122 lines (122 loc) · 3.25 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
{
"name": "remark-directive-sugar",
"version": "0.0.2",
"description": "Remark plugin built on remark-directive, providing predefined directives for image captions, video embedding, styled GitHub links, badges, and more.",
"author": "Stephanie Lin <[email protected]>",
"license": "MIT",
"keywords": [
"remark-plugin",
"remark-directive",
"directive",
"remark",
"mast"
],
"repository": "github:lin-stephanie/remark-directive-sugar",
"homepage": "https://github.com/lin-stephanie/remark-directive-sugar#readme",
"bugs": "https://github.com/lin-stephanie/remark-directive-sugar/issues",
"type": "module",
"files": [
"dist"
],
"main": "dist/index.js",
"module": "dist/index.js",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"types": "./dist/index.d.ts",
"scripts": {
"test": "vitest && vitest run --coverage",
"build": "rimraf dist && tsc",
"typecheck": "tsc --noEmit",
"typecheck:coverage": "type-coverage --strict --detail --min=100",
"lint": "xo --prettier",
"lint:fix": "xo --prettier --fix",
"prepare": "simple-git-hooks",
"release": "npx bumpp --tag %s --commit 'chore: release %s' --all"
},
"dependencies": {
"@types/mdast": "^4.0.4",
"hastscript": "^9.0.0",
"mdast-util-directive": "^3.0.0",
"mdast-util-to-hast": "^13.2.0",
"unist-util-visit": "^5.0.0"
},
"devDependencies": {
"@vitest/coverage-v8": "^2.0.2",
"lint-staged": "^15.2.7",
"prettier": "^3.3.2",
"rehype-minify-whitespace": "^6.0.0",
"rehype-parse": "^9.0.1",
"rehype-stringify": "^10.0.0",
"remark-directive": "^3.0.0",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.0",
"rimraf": "^6.0.1",
"simple-git-hooks": "^2.11.1",
"to-vfile": "^8.0.0",
"type-coverage": "^2.29.1",
"typescript": "^5.6.3",
"unified": "^11.0.5",
"vitest": "^2.0.2",
"xo": "^0.59.3"
},
"xo": {
"space": true,
"semicolon": false,
"rules": {
"complexity": "off",
"capitalized-comments": "off",
"@typescript-eslint/object-curly-spacing": "off",
"@typescript-eslint/member-delimiter-style": "off",
"@typescript-eslint/triple-slash-reference": "off",
"@typescript-eslint/prefer-nullish-coalescing": "off",
"no-multi-assign": "off",
"@typescript-eslint/consistent-type-definitions": [
"error",
"interface"
],
"import/order": [
"warn",
{
"groups": [
"builtin",
"external",
[
"internal",
"parent",
"sibling"
],
"index",
"type",
"object",
"unknown"
],
"pathGroups": [
{
"pattern": "./types.js",
"group": "type",
"position": "after"
}
],
"distinctGroup": false,
"newlines-between": "always",
"alphabetize": {
"order": "asc"
}
}
]
}
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*": "xo --prettier"
},
"engines": {
"node": "^16.0.0 || ^18.0.0 || >=20.0.0"
}
}