-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) · 2.39 KB
/
Copy pathpackage.json
File metadata and controls
98 lines (98 loc) · 2.39 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
{
"dependencies": {
"@tsconfig/node16": "^16.1.3",
"commander": "^12.1.0",
"marked": "^17.0.1",
"yaml": "^2.5.1",
"zod": "^3.25.76"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^22.4.0",
"esbuild": "^0.28.2",
"http-server": "^14.1.1",
"jest": "^29.7.0",
"markdown-toc": "^1.2.0",
"prettier": "^3.3.3",
"ts-jest": "^29.2.4",
"ts-node": "^10.9.2",
"typedoc": "^0.26.6",
"typescript": "^5.5.4"
},
"name": "markdown-patch",
"version": "2.0.0",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"engines": {
"node": ">=20"
},
"scripts": {
"build": "tsc",
"build:site": "esbuild site/playground.main.ts --bundle --format=esm --minify --platform=browser --alias:crypto=./site/crypto-shim.ts --outfile=site/playground.bundle.js",
"prepack": "rm -rf dist && npm run build",
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
"docs": "typedoc",
"docs-serve": "http-server docs",
"toc": "markdown-toc -i README.md"
},
"bin": {
"mdpatch": "./dist/cli.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/coddingtonbear/markdown-patch.git"
},
"bugs": {
"url": "https://github.com/coddingtonbear/markdown-patch/issues"
},
"homepage": "https://coddingtonbear.github.io/markdown-patch/",
"keywords": [
"markdown",
"patch",
"frontmatter",
"heading",
"block-reference",
"obsidian",
"cli"
],
"author": "Adam Coddington <me@adamcoddington.net>",
"license": "MIT",
"description": "Change markdown documents by inserting or changing content relative to headings or other parts of a document's structure.",
"files": [
"dist/",
"README.md"
],
"jest": {
"preset": "ts-jest/presets/default-esm",
"testEnvironment": "node",
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
],
"transform": {
"^.+\\.ts$": [
"ts-jest",
{
"useESM": true,
"tsconfig": "tsconfig.jest.json"
}
]
},
"extensionsToTreatAsEsm": [
".ts"
],
"transformIgnorePatterns": [
"/node_modules/(?!(marked)/)"
],
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
}
}
}