-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
155 lines (155 loc) · 3.96 KB
/
Copy pathpackage.json
File metadata and controls
155 lines (155 loc) · 3.96 KB
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"name": "itd-api",
"version": "0.7.2",
"description": "JS/TS SDK & API клиент для соцсети ИТД (итд.com)",
"repository": {
"type": "git",
"url": "git+https://github.com/KiowDev/itd-api.git"
},
"homepage": "https://kiowdev.github.io/itd-api/",
"bugs": {
"url": "https://github.com/KiowDev/itd-api/issues"
},
"author": "Kiow",
"keywords": [
"itd",
"итд",
"api",
"rest-api",
"client",
"sdk",
"realtime",
"social",
"typescript"
],
"license": "MIT",
"type": "module",
"sideEffects": false,
"engines": {
"node": ">=18"
},
"files": [
"dist",
"NOTICE",
"LICENSE",
"README.md"
],
"publishConfig": {
"access": "public"
},
"workspaces": [
"packages/*"
],
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"rest": [
"./dist/rest/index.d.ts"
],
"realtime": [
"./dist/realtime/index.d.ts"
],
"node": [
"./dist/node/index.d.ts"
],
"web": [
"./dist/web/index.d.ts"
]
}
},
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./rest": {
"import": {
"types": "./dist/rest/index.d.ts",
"default": "./dist/rest/index.js"
},
"require": {
"types": "./dist/rest/index.d.cts",
"default": "./dist/rest/index.cjs"
}
},
"./realtime": {
"import": {
"types": "./dist/realtime/index.d.ts",
"default": "./dist/realtime/index.js"
},
"require": {
"types": "./dist/realtime/index.d.cts",
"default": "./dist/realtime/index.cjs"
}
},
"./node": {
"import": {
"types": "./dist/node/index.d.ts",
"default": "./dist/node/index.js"
},
"require": {
"types": "./dist/node/index.d.cts",
"default": "./dist/node/index.cjs"
}
},
"./web": {
"import": {
"types": "./dist/web/index.d.ts",
"default": "./dist/web/index.js"
},
"require": {
"types": "./dist/web/index.d.cts",
"default": "./dist/web/index.cjs"
}
},
"./package.json": "./package.json"
},
"scripts": {
"sync-version": "node scripts/sync-version.mjs",
"prebuild": "npm run sync-version",
"build": "tsdown",
"dev": "tsdown --watch",
"test": "vitest run",
"test:all": "npm run test && npm run test --workspaces --if-present",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
"lint": "biome check src test packages",
"lint:fix": "biome check --write src test packages",
"check:layers": "node scripts/check-imports.mjs",
"measure:size": "node scripts/measure-bundles.mjs",
"docs": "npm run docs:build",
"docs:api": "node scripts/build-docs.mjs",
"docs:dev": "npm run docs:api && vitepress dev guides",
"docs:build": "npm run docs:api && vitepress build guides",
"docs:preview": "vitepress preview guides",
"docs:check": "npm run docs:build",
"check:pack": "publint && attw --pack .",
"version": "npm run sync-version && git add src/core/version.ts",
"prepublishOnly": "npm run typecheck && npm run check:layers && npm run test && npm run build && npm run check:pack"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.5",
"@biomejs/biome": "^2.5.7",
"@types/node": "^26.2.0",
"@vitest/coverage-v8": "^4.1.10",
"eventsource-parser": "^3.1.1",
"publint": "^0.3.23",
"set-cookie-parser": "^3.1.2",
"tsdown": "^0.22.14",
"typedoc": "^0.28.20",
"typedoc-plugin-markdown": "^4.12.0",
"typedoc-vitepress-theme": "^1.1.3",
"typescript": "^5.9.3",
"vitepress": "^1.6.4",
"vitest": "^4.1.10"
}
}