-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.json
126 lines (126 loc) · 3.55 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
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "@diplodoc/components",
"description": "React components for drawing Diplodoc documentation",
"author": "YFM Team <[email protected]>",
"license": "MIT",
"version": "4.15.5",
"repository": {
"type": "git",
"url": "[email protected]:yandex-cloud/docs-components.git"
},
"files": [
"build",
"src/i18n"
],
"engines": {
"node": ">=18",
"npm": ">=9.*"
},
"exports": {
".": {
"import": {
"types": "./build/esm/index.d.js",
"style": "./build/index.css",
"default": "./build/esm/index.js"
},
"require": {
"types": "./build/cjs/index.d.js",
"style": "./build/index.css",
"default": "./build/cjs/index.js"
},
"default": {
"types": "./build/esm/index.d.js",
"style": "./build/index.css",
"default": "./build/esm/index.js"
}
},
"./styles": "./build/index.css",
"./i18n/*": "./src/i18n/*",
"./themes/*": {
"style": "./build/themes/*/index.css",
"default": "./build/themes/*/index.css"
}
},
"sideEffects": [
"*.css",
"*.scss"
],
"main": "build/esm/index.js",
"typings": "build/esm/index.d.ts",
"scripts": {
"deps:install": "npm ci",
"deps:truncate": "npm prune --production",
"typecheck": "tsc -p . --noEmit",
"test": "exit 0",
"dev": "run-s build _dev:watch",
"_dev:watch": "run-p _build:watch _storybook:watch",
"build:clean": "rm -rf build",
"build:compile": "./esbuild/build.js",
"_build:declarations:esm": "tsc --emitDeclarationOnly -p tsconfig.esm.json",
"_build:declarations:cjs": "tsc --emitDeclarationOnly -p tsconfig.cjs.json",
"build": "run-s build:clean build:compile _build:declarations:*",
"_build:watch": "./esbuild/build.js --watch",
"_storybook:watch": "cd demo && npm run storybook",
"prepublishOnly": "npm run lint && npm run test && npm run build",
"postinstall": "cd demo && npm i || true",
"lint": "lint update && lint",
"lint:fix": "lint update && lint fix",
"pre-commit": "lint update && lint-staged",
"prepare": "husky || true"
},
"dependencies": {
"@gravity-ui/components": "^3.6.0",
"@gravity-ui/icons": "^2.5.0",
"@gravity-ui/page-constructor": "^5.22.0",
"@gravity-ui/uikit": "^6.2.0",
"@popperjs/core": "^2.11.2",
"bem-cn-lite": "4.1.0",
"i18next": "^19.9.2",
"langs": "^2.0.0",
"lodash": "^4.17.21",
"mark.ts": "^1.0.5",
"react-gtm-module": "^2.0.11",
"react-hotkeys-hook": "^3.3.1",
"react-i18next": "11.15.6",
"react-popper": "^2.2.5",
"react-transition-group": "^4.4.5",
"scroll-into-view-if-needed": "2.2.29",
"url": "^0.11.1"
},
"peerDependencies": {
"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.1",
"@diplodoc/tsconfig": "^1.0.2",
"@types/langs": "^2.0.1",
"@types/lodash": "4.14.179",
"@types/react": "^18.2.21",
"@types/react-dom": "^18.2.7",
"@types/react-gtm-module": "^2.0.3",
"@types/react-transition-group": "^4.4.10",
"autoprefixer": "^10.4.15",
"esbuild": "^0.23.1",
"esbuild-sass-plugin": "^3.3.1",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.28",
"postcss-preset-env": "^9.1.2",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sass": "^1.66.1",
"typescript": "^5.2.2"
},
"keywords": [
"markdown",
"docs",
"yfm",
"md",
"documentation",
"tool",
"tools",
"components",
"diplodoc"
]
}