-
-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 2.42 KB
/
package.json
File metadata and controls
100 lines (100 loc) · 2.42 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
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
{
"name": "velite",
"version": "0.3.1",
"description": "Turns Markdown / MDX, YAML, JSON, or other files into app's data layer with type-safe schema.",
"keywords": [
"contentlayer",
"headless-cms",
"data-layer",
"creative",
"content",
"velite",
"cli",
"zce"
],
"repository": "zce/velite",
"license": "MIT",
"author": "zce <w@zce.me> (https://zce.me)",
"type": "module",
"bin": "./bin/velite.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": "./dist/index.js"
},
"files": [
"dist"
],
"scripts": {
"build": "tsc && tsup",
"test": "node --import tsx --test test/*.ts",
"docs:dev": "cd docs && pnpm dev",
"docs:build": "cd docs && pnpm build",
"format": "prettier . --write"
},
"tsup": {
"entry": [
"src/index.ts",
"src/cli.ts"
],
"format": "esm",
"platform": "node",
"target": "node18",
"banner": {
"js": "import {createRequire as __createRequire} from 'module';const require=__createRequire(import.meta.url);"
},
"dts": {
"resolve": true
},
"treeshake": true,
"clean": true
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*.{js,ts,md}": "prettier --write"
},
"dependencies": {
"@mdx-js/mdx": "^3.1.1",
"esbuild": "^0.25.12",
"sharp": "^0.34.5",
"terser": "^5.44.1"
},
"devDependencies": {
"@ianvs/prettier-plugin-sort-imports": "^4.7.0",
"@types/hast": "^3.0.4",
"@types/mdast": "^4.0.4",
"@types/node": "^22.19.1",
"@types/picomatch": "^4.0.2",
"chokidar": "^4.0.3",
"fast-glob": "^3.3.3",
"hast-util-raw": "^9.1.0",
"hast-util-to-string": "^3.0.1",
"lint-staged": "^16.2.7",
"mdast-util-from-markdown": "^2.0.2",
"mdast-util-to-hast": "^13.2.1",
"mdast-util-toc": "^7.1.0",
"picomatch": "^4.0.3",
"prettier": "^3.7.4",
"rehype-raw": "^7.0.0",
"rehype-stringify": "^10.0.1",
"remark-gfm": "^4.0.1",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.2",
"simple-git-hooks": "^2.13.1",
"tsup": "^8.5.1",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"unified": "^11.0.5",
"unist-util-visit": "^5.0.0",
"vfile": "^6.0.3",
"vfile-reporter": "^8.1.1",
"yaml": "^2.8.2"
},
"packageManager": "pnpm@10.15.0",
"engines": {
"node": "^18.20.0 || >=20.3.0"
}
}