-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
113 lines (113 loc) · 3.41 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
110
111
112
113
{
"name": "@diplodoc/openapi-extension",
"version": "2.4.0",
"description": "OpenAPI extension for Diplodoc transformer and builder",
"main": "build/plugin/cjs/index.min.js",
"types": "build/plugin/index.d.ts",
"engines": {
"node": ">=18",
"npm": ">=9.*"
},
"exports": {
".": {
"types": "./build/plugin/index.d.ts",
"require": "./build/plugin/cjs/index.min.js",
"production": "./build/plugin/index.min.js",
"development": "./build/plugin/index.js",
"default": "./build/plugin/index.min.js"
},
"./includer": {
"types": "./build/includer/index.d.ts",
"require": "./build/includer/cjs/index.js",
"default": "./build/includer/esm/index.js"
},
"./runtime": {
"types": "./build/runtime/index.d.ts",
"require": "./build/runtime/cjs/index.min.js",
"production": "./build/runtime/index.min.js",
"development": "./build/runtime/index.js",
"style": "./build/runtime/index.min.css",
"default": "./build/runtime/index.min.js"
},
"./runtime/styles": {
"production": "./build/runtime/index.min.css",
"development": "./build/runtime/index.css",
"default": "./build/runtime/index.min.css"
}
},
"scripts": {
"prebuild": "rm -rf plugin includer runtime",
"build": "run-p build:*",
"build:plugin": "node esbuild/esbuild.js",
"build:includer": "node esbuild/includer.js",
"build:declarations": "tsc --emitDeclarationOnly --outDir ./build",
"prepublishOnly": "npm run build",
"test": "jest",
"typecheck": "tsc --noEmit",
"lint": "lint update && lint",
"lint:fix": "lint update && lint fix",
"pre-commit": "lint update && lint-staged",
"prepare": "husky"
},
"files": [
"build"
],
"peerDependencies": {
"@gravity-ui/uikit": "^6.0.0",
"markdown-it": "^13.0.0",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@diplodoc/lint": "^1.1.3",
"@diplodoc/tsconfig": "^1.0.2",
"@gravity-ui/uikit": "^6.0.0",
"@types/html-escaper": "^3.0.0",
"@types/jest": "^29.5.2",
"@types/jest-when": "^3.5.2",
"@types/js-yaml": "^4.0.5",
"@types/json-schema": "^7.0.11",
"@types/json-stringify-safe": "^5.0.0",
"@types/lodash": "^4.17.5",
"@types/markdown-it": "^13.0.9",
"@types/react": "^18.0.35",
"@types/react-dom": "^18.0.11",
"esbuild": "^0.23.1",
"esbuild-sass-plugin": "^3.3.1",
"glob": "^8.0.3",
"jest": "^29.5.0",
"jest-when": "^3.5.2",
"lodash": "^4.17.21",
"markdown-it": "^13.0.2",
"npm-run-all": "^4.1.5",
"openapi-types": "^12.1.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"ts-jest": "^29.1.1",
"typescript": "^5.0.4"
},
"dependencies": {
"@apidevtools/swagger-parser": "^10.1.0",
"@diplodoc/transform": "^4.31.3",
"bem-cn-lite": "^4.1.0",
"html-escaper": "^3.0.3",
"http-status-codes": "^2.2.0",
"js-yaml": "^4.1.0",
"json-schema": "^0.4.0",
"json-stringify-safe": "^5.0.1",
"slugify": "^1.6.6"
},
"keywords": [
"diplodoc",
"diplodoc-extension",
"markdown-it"
],
"bugs": {
"url": "https://github.com/diplodoc-platform/openapi-extension/issues"
},
"homepage": "https://github.com/diplodoc-platform/openapi-extension#readme",
"repository": {
"type": "git",
"url": "git@https://github.com/diplodoc-platform/openapi-extension.git"
}
}