-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
105 lines (105 loc) · 3.08 KB
/
package.json
File metadata and controls
105 lines (105 loc) · 3.08 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
{
"name": "api-ape",
"version": "4.1.1",
"description": "Remote Procedure Events (RPE) - A lightweight WebSocket framework for building real-time APIs. Call server functions from the browser like local methods with automatic reconnection, HTTP streaming fallback, and extended JSON encoding.",
"main": "index.js",
"browser": "./client/index.js",
"types": "index.d.ts",
"exports": {
".": {
"browser": "./client/index.js",
"default": "./index.js"
},
"./bun": "./server/lib/bun.js",
"./client": "./client/index.js",
"./client/*": "./client/*",
"./server": "./server/index.js",
"./server/*": "./server/*",
"./vite": {
"import": "./vite/index.mjs",
"require": "./vite/index.js"
}
},
"files": [
"dist/",
"client/",
"server/",
"utils/",
"vite/",
"index.js",
"index.d.ts",
"!**/*.test.js"
],
"scripts": {
"prepare": "rm -rf .git/hooks/* && cp -R .hooks/* .git/hooks/ && chmod +x .git/hooks/* .git/hooks/pre-commit.d/*",
"test": "jest --no-cache",
"test:watch": "jest --watch --runInBand",
"test:cover": "jest --coverage --no-cache --detectOpenHandles",
"demo:express": "cd example/ExpressJs && npm install && npm start",
"demo:nextjs": "cd example/NextJs && docker-compose up --build",
"demo:vite": "cd example/Vite && npm install && npm run dev",
"demo:bun": "cd example/Bun && npm install && npm start",
"build:vscode": "cd type_system/vscode-api-ape && npm install && node scripts/package-vsix.js && /Applications/Visual\\ Studio\\ Code.app/Contents/Resources/app/bin/code --install-extension vscode-api-ape-1.0.0.vsix --force && rm vscode-api-ape-1.0.0.vsix",
"release": "bash scripts/publish.sh",
"prepublishOnly": "npx esbuild client/browser.js --bundle --minify --sourcemap --outfile=dist/ape.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/codemeasandwich/api-ape.git"
},
"keywords": [
"websocket",
"realtime",
"CSRF",
"api",
"remote-procedure-call",
"real-time",
"broadcast",
"socket",
"event-driven",
"http-streaming",
"long-polling",
"client-server",
"auto-reconnect",
"JSON-Super-Set",
"rpe",
"nodejs",
"library"
],
"author": "brian shannon",
"license": "MIT",
"bugs": {
"url": "https://github.com/codemeasandwich/api-ape/issues"
},
"homepage": "https://github.com/codemeasandwich/api-ape#readme",
"devDependencies": {
"esbuild": "^0.27.2",
"fake-indexeddb": "^6.2.5",
"jest": "^29.3.1",
"ws": "^8.19.0"
},
"jest": {
"testPathIgnorePatterns": [
"/node_modules/",
"/integration/"
],
"collectCoverageFrom": [
"server/**/*.js",
"utils/**/*.js",
"!**/node_modules/**",
"!**/example/**",
"!**/__fixtures__/**",
"!server/adapters/**",
"!server/lib/ws/adapters/**",
"!server/lib/bun.js",
"!server/lib/runtimes/bun.js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/example/",
"/simulator/",
"/client/",
"/integration/"
]
}
}