generated from diplodoc-platform/package-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
109 lines (109 loc) · 2.8 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
108
109
{
"name": "@diplodoc/html-extension",
"version": "2.6.0",
"description": "HTML plugin for Diplodoc transformer and builder",
"main": "build/plugin/index.js",
"types": "build/plugin/index.d.ts",
"typesVersions": {
"*": {
"index.d.ts": [
"./build/plugin/index.d.ts"
],
"iframe": [
"./build/iframe/index.d.ts"
],
"plugin": [
"./build/plugin/index.d.ts"
],
"react": [
"./build/react/index.d.ts"
],
"runtime": [
"./build/runtime/index.d.ts"
],
"utils": [
"./build/utils/index.d.ts"
]
}
},
"exports": {
".": {
"types": "./build/plugin/index.d.ts",
"default": "./build/plugin/index.js"
},
"./runtime": {
"types": "./build/runtime/index.d.ts",
"default": "./build/runtime/index.js"
},
"./react": {
"types": "./build/react/index.d.ts",
"default": "./build/react/index.js"
},
"./utils": {
"types": "./build/utils/index.d.ts",
"default": "./build/utils/index.js"
},
"./iframe": {
"default": "./build/iframe/runtime.html"
}
},
"homepage": "https://diplodoc.com/",
"repository": {
"type": "git",
"url": "git+https://github.com/diplodoc-platform/html-extension.git"
},
"bugs": {
"url": "https://github.com/diplodoc-platform/diplodoc/issues"
},
"scripts": {
"build": "run-p build:*",
"build:js": "./esbuild/build.mjs",
"build:declarations": "tsc --project tsconfig.publish.json --emitDeclarationOnly --outDir ./build",
"prepublishOnly": "npm run lint && npm run test && npm run build",
"test": "cd tests && npm ci && npm test -- --ci",
"typecheck": "tsc -p . --noEmit",
"lint": "lint update && lint",
"lint:fix": "lint update && lint fix",
"pre-commit": "lint update && lint-staged",
"prepare": "husky"
},
"author": "",
"license": "MIT",
"files": [
"build"
],
"peerDependencies": {
"@diplodoc/transform": "^4.0.0",
"markdown-it": "^13.0.1",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
"@diplodoc/transform": {
"optional": true
},
"react": {
"optional": true
}
},
"devDependencies": {
"@craftamap/esbuild-plugin-html": "^0.7.0",
"@diplodoc/lint": "^1.2.0",
"@diplodoc/tsconfig": "^1.0.2",
"@types/github-slugger": "^1.3.0",
"@types/lodash.debounce": "^4.0.9",
"@types/markdown-it": "^13.0.9",
"@types/node": "^18.19.64",
"@types/react": "^18.2.14",
"esbuild": "^0.23.1",
"esbuild-sass-plugin": "^3.3.1",
"github-slugger": "^1.5.0",
"lodash.debounce": "^4.0.8",
"markdown-it": "^13.0.1",
"nanoid": "^5.0.7",
"npm-run-all": "^4.1.5",
"typescript": "^5.3.3"
},
"dependencies": {
"@diplodoc/directive": "^0.3.0"
}
}