-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
107 lines (107 loc) · 3.18 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "rehype-jsoncanvas",
"version": "0.1.6",
"description": "rehype plugin to render inline json-canvas elements",
"license": "MIT",
"keywords": [
"documentexports npm package whole folder",
"hast",
"html",
"plugin",
"rehype",
"rehype-plugin",
"jsoncanvas",
"json-canvas",
"obsidianmd",
"obsidian"
],
"repository": "lovettbarron/rehype-jsoncanvas",
"bugs": "https://github.com/lovettbarron/rehype-jsoncanvas/issues",
"author": "Andrew Lovett-Barron <[email protected]> (https://andrewlb.com)",
"contributors": [
"Andrew Lovett-Barron <[email protected]> (https://andrewlb.com)"
],
"funding": [
{
"type": "individual",
"url": "https://andrewlb.com/support"
}
],
"type": "module",
"browser": {
"fs": false
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./example/*": "./example/**.{.md|.canvas|.jpeg}"
},
"files": [
"dist",
"src",
"example"
],
"scripts": {
"lint": "biome lint src/** --no-error-on-unmatched-pattern",
"check": "biome check ./src --apply --no-errors-on-unmatched --files-ignore-unknown=true",
"check:ci": "biome check ./src --no-errors-on-unmatched --files-ignore-unknown=true",
"test": "vitest run --coverage",
"test:watch": "vitest",
"build": "shx rm -rf ./dist && NODE_ENV=production microbundle --tsconfig ./tsconfig.json --format modern,cjs --output dist/index.js && shx cp ./dist/index.d.ts ./dist/index.d.cts",
"type:check": "tsc --noEmit",
"gen:docs": "rm -rf ./docs/api && typedoc --options typedoc.cjs",
"prepublishOnly": "npm run build",
"prepare": "lefthook install",
"change": "changeset",
"release": "npm run prepublishOnly && changeset publish",
"devpub": "yalc push --scripts --update --replace"
},
"devDependencies": {
"@babel/core": "^7.24.0",
"@babel/preset-env": "^7.24.0",
"@babel/preset-typescript": "^7.23.3",
"@biomejs/biome": "1.8.2",
"@changesets/cli": "^2.27.7",
"@trbn/jsoncanvas": "^1.0.6",
"@types/node": "^20.11.24",
"@vitest/coverage-v8": "^1.3.1",
"babel-plugin-dev-expression": "^0.2.3",
"babel-plugin-transform-define": "^2.1.4",
"hast": "^1.0.0",
"hast-util-from-html-isomorphic": "^2.0.0",
"lefthook": "^1.6.5",
"microbundle": "^0.15.1",
"shx": "^0.3.4",
"typedoc": "^0.26.0",
"typedoc-plugin-markdown": "^3.17.1",
"typescript": "^5.3.3",
"unified": "^11.0.5",
"unist-util-visit": "^5.0.0",
"vite-plugin-babel": "^1.2.0"
},
"dependencies": {
"@types/hast-format": "^2.3.0",
"changeset": "^0.2.6",
"hast-util-to-html": "^9.0.1",
"hastscript": "^9.0.0",
"mdast-util-from-markdown": "^2.0.1",
"mdast-util-to-hast": "^13.2.0",
"rehype-stringify": "^10.0.0",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.0",
"remark-render": "^0.0.16",
"unist-util-map": "^4.0.0",
"vitest": "^1.3.1"
}
}