-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.31 KB
/
Copy pathpackage.json
File metadata and controls
83 lines (83 loc) · 2.31 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
{
"name": "mdorigin",
"version": "0.5.5",
"type": "module",
"description": "Markdown-first publishing for humans and agents.",
"repository": {
"type": "git",
"url": "git+https://github.com/holon-run/mdorigin.git"
},
"homepage": "https://mdorigin.holon.run",
"bugs": {
"url": "https://github.com/holon-run/mdorigin/issues"
},
"keywords": [
"markdown",
"publishing",
"static-site",
"cloudflare-workers",
"agents",
"skills",
"cli"
],
"bin": {
"mdorigin": "dist/cli/main.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./search": {
"types": "./dist/search.d.ts",
"default": "./dist/search.js"
},
"./cloudflare": {
"types": "./dist/cloudflare.d.ts",
"default": "./dist/cloudflare.js"
},
"./cloudflare-runtime": {
"types": "./dist/cloudflare-runtime.d.ts",
"default": "./dist/cloudflare-runtime.js"
}
},
"files": [
"dist/",
"README.md"
],
"scripts": {
"dev": "tsx src/cli/main.ts dev",
"build": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\" && tsc -p tsconfig.json && node -e \"const fs=require('node:fs'); const file='dist/cli/main.js'; const source=fs.readFileSync(file,'utf8'); if (!source.startsWith('#!/usr/bin/env node\\n')) fs.writeFileSync(file, '#!/usr/bin/env node\\n' + source);\"",
"build:index": "tsx src/cli/main.ts build index",
"build:search": "tsx src/cli/main.ts build search",
"build:cloudflare": "tsx src/cli/main.ts build cloudflare",
"init:cloudflare": "tsx src/cli/main.ts init cloudflare",
"search": "tsx src/cli/main.ts search",
"check": "tsc --noEmit -p tsconfig.json",
"test": "node --test --import tsx src/*.test.ts src/**/*.test.ts",
"prepack": "npm run build",
"pack:check": "npm pack --dry-run"
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=20"
},
"dependencies": {
"gray-matter": "^4.0.3",
"rehype-raw": "^7.0.0",
"rehype-stringify": "^10.0.1",
"remark": "^15.0.1",
"remark-gfm": "^4.0.1",
"remark-rehype": "^11.1.2",
"tsx": "^4.20.5"
},
"devDependencies": {
"@types/node": "^24.5.2",
"typescript": "^5.9.2"
},
"optionalDependencies": {
"indexbind": "^0.6.1"
}
}