@myronsi/messenger-api 2.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "@myronsi/messenger-api",
3
+ "version": "2.0.0-alpha.1",
4
+ "description": "API contract of the Messenger backend: OpenAPI document, WebSocket event schemas and generated TypeScript types",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/myronsi/messenger-back.git",
9
+ "directory": "api"
10
+ },
11
+ "type": "module",
12
+ "main": "./dist/index.js",
13
+ "types": "./dist/index.d.ts",
14
+ "exports": {
15
+ ".": {
16
+ "types": "./dist/index.d.ts",
17
+ "default": "./dist/index.js"
18
+ },
19
+ "./openapi.yaml": "./dist/openapi.yaml",
20
+ "./schema": {
21
+ "types": "./dist/schema.d.ts"
22
+ },
23
+ "./ws-events": {
24
+ "types": "./dist/ws-events.d.ts"
25
+ },
26
+ "./package.json": "./package.json"
27
+ },
28
+ "files": [
29
+ "dist",
30
+ "CHANGELOG.md"
31
+ ],
32
+ "publishConfig": {
33
+ "access": "public",
34
+ "provenance": true
35
+ },
36
+ "scripts": {
37
+ "lint": "redocly lint openapi.yaml",
38
+ "check": "node scripts/check.mjs",
39
+ "build": "node scripts/build.mjs",
40
+ "prepublishOnly": "npm run check && npm run build"
41
+ },
42
+ "devDependencies": {
43
+ "@redocly/cli": "^2.0.0",
44
+ "ajv": "^8.17.1",
45
+ "ajv-formats": "^3.0.1",
46
+ "json-schema-to-typescript": "^15.0.4",
47
+ "openapi-typescript": "^7.9.1",
48
+ "typescript": "^5.9.0",
49
+ "yaml": "^2.8.0"
50
+ },
51
+ "engines": {
52
+ "node": ">=20"
53
+ }
54
+ }