-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
91 lines (91 loc) · 2.15 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
{
"name": "@diplodoc/mermaid-extension",
"version": "1.3.3",
"description": "Mermaid plugin for Diplodoc transformer and builder",
"main": "build/plugin/index.js",
"types": "build/plugin/index.d.ts",
"engines": {
"node": ">=18",
"npm": ">=9.*"
},
"exports": {
".": {
"node": "./build/plugin/index-node.js",
"default": "./build/plugin/index.js"
},
"./plugin": {
"node": "./build/plugin/index-node.js",
"default": "./build/plugin/index.js"
},
"./runtime": {
"node": "./build/runtime/index-node.js",
"default": "./build/runtime/index.js"
},
"./react": "./build/react/index.js",
"./hooks": "./build/react/index.js"
},
"typesVersions": {
"*": {
"index.d.ts": [
"./build/plugin/index.d.ts"
],
"plugin": [
"./build/plugin/index.d.ts"
],
"runtime": [
"./build/runtime/index.d.ts"
]
}
},
"scripts": {
"build": "run-p build:*",
"build:js": "./esbuild/build.js",
"build:declarations": "tsc --emitDeclarationOnly --outDir ./build",
"prepublishOnly": "npm run build",
"test": "exit 0",
"lint": "lint update && lint",
"lint:fix": "lint update && lint fix",
"pre-commit": "lint update && lint-staged",
"prepare": "husky"
},
"keywords": [
"mermaid",
"markdown-it"
],
"author": "",
"license": "MIT",
"files": [
"build"
],
"peerDependencies": {
"markdown-it": "^13.0.0",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
},
"devDependencies": {
"@diplodoc/lint": "^1.1.3",
"@diplodoc/transform": "^4.7.2",
"@diplodoc/tsconfig": "^1.0.2",
"@types/d3": "^7.4.0",
"@types/markdown-it": "^13.0.9",
"@types/node": "^20.3.2",
"@types/react": "^18.0.35",
"esbuild": "^0.23.1",
"esbuild-inline-sass": "^0.4.1",
"jest": "^29.5.0",
"markdown-it": "^13.0.2",
"npm-run-all": "^4.1.5",
"react": "^18.2.0",
"typescript": "^5.0.2"
},
"dependencies": {
"@gravity-ui/icons": "^2.8.1",
"d3": "^7.8.5",
"mermaid": "^10.9.3",
"ts-dedent": "^2.2.0"
}
}