Files
airship/packages/server/package.json
T
Nayan 17e85c52a1 feat(server): proxy the target app and inject the overlay
Airship sits in front of your dev server rather than inside it: no plugin, no
config change, no framework coupling. The proxy injects the overlay bundle into
HTML responses and passes everything else — including HMR's websocket — straight
through.

That is what lets the same editor drive a Vite app, a Next app or a static site.
2026-07-31 16:34:00 +05:30

35 lines
881 B
JSON

{
"name": "@airship/server",
"version": "0.0.0",
"private": true,
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "tsup src/index.ts --format esm --dts --sourcemap --clean",
"clean": "rm -rf dist .turbo",
"dev": "tsup src/index.ts --format esm --dts --sourcemap --watch",
"test": "vitest run",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@airship/core": "workspace:*",
"@airship/editor-tokens": "workspace:*",
"@airship/git": "workspace:*",
"@airship/overlay": "workspace:*",
"@airship/protocol": "workspace:*",
"@airship/source": "workspace:*",
"ws": "^8.21.0"
},
"devDependencies": {
"@types/node": "^22.10.0",
"@types/ws": "^8.5.0"
}
}