-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
69 lines (69 loc) · 1.65 KB
/
package.json
File metadata and controls
69 lines (69 loc) · 1.65 KB
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
{
"name": "markdown-it-git-graph",
"version": "0.2.2",
"description": "一个markdown-it插件,用于生成git提交图",
"author": "whlit",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/whlit/markdown-it-git-graph.git"
},
"keywords": [
"markdown-it",
"markdown-it-plugin",
"git-graph"
],
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
},
"./style.css": "./styles/index.css"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"files": [
"dist",
"styles"
],
"scripts": {
"test": "vitest run",
"test:u": "vitest run -u",
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"build": "pnpm build:cjs && pnpm build:esm",
"build:esm": "tsc --project tsconfig.esm.json",
"build:cjs": "tsc --project tsconfig.cjs.json",
"lint": "eslint .",
"lint:fix": "pnpm lint --fix",
"dev": "vitepress dev"
},
"devDependencies": {
"@antfu/eslint-config": "^4.13.2",
"@types/markdown-it": "^14.1.2",
"@vitest/coverage-v8": "3.1.4",
"eslint": "^9.27.0",
"lint-staged": "^16.1.0",
"markdown-it": "^14.1.0",
"simple-git-hooks": "^2.13.0",
"typescript": "^5.8.3",
"vitepress": "^1.6.3",
"vitest": "^3.1.4"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged && pnpm test"
},
"lint-staged": {
"*": "pnpm lint"
},
"publishConfig": {
"access": "public"
}
}