-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
79 lines (79 loc) · 2 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
{
"name": "@diplodoc/latex-extension",
"version": "1.3.2",
"description": "Extension for Diplodoc platform which adds support for Latex syntax using Katex",
"main": "build/plugin/index.js",
"types": "build/plugin/index.d.ts",
"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.js",
"default": "./build/runtime/index-browser.js"
},
"./runtime/styles": "./build/runtime/index.css",
"./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"
},
"author": "",
"license": "MIT",
"files": [
"build"
],
"devDependencies": {
"@diplodoc/lint": "^1.1.3",
"@diplodoc/transform": "^4.7.1",
"@diplodoc/tsconfig": "^1.0.2",
"@types/katex": "^0.16.7",
"@types/markdown-it": "^13.0.9",
"@types/node": "^20.11.17",
"@types/react": "^18.2.45",
"esbuild": "^0.23.1",
"esbuild-inline-sass": "^0.4.3",
"katex": "^0.16.9",
"markdown-it": "^13.0.2",
"npm-run-all": "^4.1.5",
"react": "^18.2.0",
"typescript": "^5.3.3"
},
"peerDependencies": {
"katex": "^0.16.9",
"markdown-it": "^13.0.0",
"react": "^18.2.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
}
}