-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpackage.json
More file actions
43 lines (43 loc) · 1.36 KB
/
package.json
File metadata and controls
43 lines (43 loc) · 1.36 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
{
"name": "@bpinternal/tunnel",
"version": "0.1.26",
"description": "Tunneling logic for client and server",
"main": "./dist/index.cjs",
"browser": "./dist/index.mjs",
"types": "./src/index.ts",
"license": "MIT",
"repository": {
"url": "https://github.com/botpress/packages"
},
"scripts": {
"check:type": "tsc --noEmit",
"build:nodejs": "esbuild src/index.ts --bundle --platform=node --target=node16 --outfile=dist/index.cjs",
"build:browser": "esbuild src/index.ts --bundle --platform=browser --target=es2017 --format=esm --outfile=dist/index.mjs",
"build": "npm run build:nodejs && npm run build:browser",
"test:e2e": "esbuild --bundle --external:esbuild --platform=node --outfile=custom-e2e/index.js e2e/index.ts && node custom-e2e/index.js",
"test": "npm run test:e2e"
},
"dependencies": {
"@types/ws": "^8.5.5",
"browser-or-node": "^2.1.1",
"isomorphic-ws": "^5.0.0",
"ws": "^8.13.0",
"zod": "^3.20.6"
},
"devDependencies": {
"@bpinternal/log4bot": "0.0.28",
"@bpinternal/yargs-extra": "0.0.21",
"@types/lodash": "^4.14.195",
"@types/node": "^22.16.4",
"@types/web": "^0.0.318",
"esbuild": "^0.27.0",
"puppeteer": "^22.0.0",
"ts-node": "^10.9.1",
"typescript": "5.9.3"
},
"engines": {
"node": ">=16.0.0",
"pnpm": "8.6.2"
},
"packageManager": "pnpm@8.6.2"
}