Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 1.9 KB
/
Copy pathpackage.json
File metadata and controls
87 lines (87 loc) · 1.9 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
{
"name": "@morojs/client",
"version": "0.1.0",
"description": "The MoroJS client SDK — browser-first and zero-dependency. Ships a socket.io-client-compatible realtime client for the native engine; typed HTTP and shared types are on the roadmap.",
"type": "module",
"sideEffects": false,
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./react": {
"import": {
"types": "./dist/react.d.ts",
"default": "./dist/react.js"
},
"require": {
"types": "./dist/react.d.cts",
"default": "./dist/react.cjs"
}
},
"./package.json": "./package.json"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"clean": "rm -rf dist",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"prepublishOnly": "npm run clean && npm run build"
},
"keywords": [
"morojs",
"moro",
"websocket",
"ws",
"realtime",
"socket",
"client",
"browser",
"engine",
"react"
],
"author": "Moro Framework Team",
"license": "MIT",
"homepage": "https://morojs.com",
"repository": {
"type": "git",
"url": "git+https://github.com/Moro-JS/client.git"
},
"bugs": {
"url": "https://github.com/Moro-JS/client/issues"
},
"engines": {
"node": ">=18"
},
"peerDependencies": {
"react": ">=18"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
},
"devDependencies": {
"@types/react": "^19.2.17",
"react": "^19.2.7",
"tsup": "^8.3.5",
"typescript": "^5.9.2",
"vitest": "^4.1.10"
}
}