-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
93 lines (93 loc) · 2.28 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
{
"name": "@zhouhua-dev/remark-media-card",
"version": "1.1.6",
"description": "remark plugin to support media card",
"license": "MIT",
"homepage": "https://github.com/zhouhua/remark-media-card",
"repository": {
"type": "git",
"url": "https://github.com/zhouhua/remark-media-card"
},
"keywords": [
"markdown",
"plugin",
"remark",
"remark-plugin",
"unified"
],
"author": "zhou--hua@163.com",
"sideEffects": false,
"type": "module",
"exports": "./dist/index.js",
"files": [
"dist/",
"lib/",
"index.d.ts",
"index.js"
],
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"devDependencies": {
"@testing-library/dom": "^9.3.4",
"@tsconfig/node20": "^20.1.2",
"@types/mdast": "^4.0.3",
"@types/node": "^20.11.19",
"@types/unist": "^3.0.2",
"@vitest/coverage-v8": "^1.3.1",
"@vitest/ui": "^1.3.1",
"jsdom": "^24.0.0",
"prettier": "^3.2.5",
"remark": "^15.0.1",
"remark-cli": "^12.0.0",
"rimraf": "^5.0.5",
"ts-node": "^10.9.2",
"tslib": "^2.6.2",
"tsx": "^4.7.1",
"type-coverage": "^2.27.1",
"typescript": "^5.3.3",
"vitest": "^1.3.1",
"xo": "^0.57.0"
},
"scripts": {
"clean": "rimraf dist",
"build": "tsc --project tsconfig.build.json & type-coverage",
"format": "prettier . --log-level warn --write && xo --fix",
"prepack": "pnpm run build && pnpm run format",
"test": "vitest",
"test-ui": "vitest --ui.open --coverage",
"test-coverage": "vitest run --coverage",
"lint": "xo --fix",
"example": "ts-node ./example/transform.ts"
},
"prettier": {
"bracketSpacing": false,
"singleQuote": true,
"semi": true,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false
},
"typeCoverage": {
"atLeast": 98,
"detail": true,
"ignoreCatch": true,
"ignoreAsAssertion": true,
"strict": true
},
"xo": {
"prettier": true,
"rules": {
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/naming-convention": "off"
}
},
"dependencies": {
"@triskel/tinyhtml": "^1.1.0",
"rehype-stringify": "^10.0.0",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.0",
"unified": "^11.0.4",
"unist-util-visit": "^5.0.0",
"yaml": "^2.3.4"
}
}