UNPKG

@boringnode/transmit

Version:

A framework agnostic Server-Sent-Event library

95 lines (94 loc) 2.22 kB
{ "name": "@boringnode/transmit", "description": "A framework agnostic Server-Sent-Event library", "version": "0.4.0", "engines": { "node": ">=20.6" }, "main": "build/index.js", "type": "module", "files": [ "build" ], "exports": { ".": "./build/index.js", "./transports": "./build/transports.js", "./types": "./build/src/types/main.js" }, "scripts": { "build": "yarn compile", "clean": "del-cli build", "compile": "yarn clean && tsc", "format": "prettier --write .", "lint": "eslint .", "precompile": "yarn lint", "prepublishOnly": "yarn build", "pretest": "yarn lint", "quick:test": "yarn node --enable-source-maps --import=ts-node-maintained/register/esm bin/test.ts", "release": "release-it", "test": "c8 yarn quick:test", "typecheck": "tsc --noEmit", "version": "yarn build" }, "dependencies": { "@boringnode/bus": "^0.9.0", "@poppinss/utils": "^6.10.1", "emittery": "^1.2.0", "matchit": "^1.1.0" }, "devDependencies": { "@adonisjs/eslint-config": "^2.1.2", "@adonisjs/prettier-config": "^1.4.5", "@adonisjs/tsconfig": "^1.4.1", "@japa/assert": "^4.2.0", "@japa/runner": "^4.5.0", "@swc/core": "^1.15.8", "@types/node": "^20.16.10", "c8": "^10.1.3", "del-cli": "^7.0.0", "eslint": "^9.39.2", "prettier": "^3.7.4", "release-it": "^19.2.3", "ts-node-maintained": "^10.9.6", "tsup": "^8.5.1", "typescript": "^5.9.3" }, "author": "Romain Lanz <romain.lanz@pm.me>", "license": "MIT", "keywords": [ "sse", "server-sent-event", "realtime", "real-time" ], "prettier": "@adonisjs/prettier-config", "publishConfig": { "access": "public", "tag": "latest" }, "release-it": { "git": { "commitMessage": "chore(release): ${version}", "tagAnnotation": "v${version}", "tagName": "v${version}" }, "github": { "release": true, "releaseName": "v${version}", "web": true } }, "c8": { "reporter": [ "text", "html" ], "exclude": [ "tests/**" ] }, "volta": { "node": "20.11.1" }, "packageManager": "yarn@4.12.0" }