@glandjs/events
Version:
A fast, zero‑dependency event broker and message bus for building scalable, event‑driven applications.
76 lines (75 loc) • 2.03 kB
JSON
{
"name": "@glandjs/events",
"version": "1.1.0",
"description": "A fast, zero‑dependency event broker and message bus for building scalable, event‑driven applications.",
"homepage": "https://github.com/glandjs/events#readme",
"author": "Mahdi <bitsgenix@gmail.com>",
"license": "MIT",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"main": "./dist/index.js",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.js"
}
},
"repository": {
"type": "git",
"url": "https://github.com/glandjs/events.git"
},
"bugs": {
"url": "https://github.com/glandjs/events/issues"
},
"files": [
"dist/"
],
"engines": {
"bun": ">=1.0.0",
"typescript": ">=5"
},
"lint-staged": {
"**/*.ts": "prettier --ignore-path ./.prettierignore --write"
},
"scripts": {
"build:js": "bun build src/index.ts --outdir dist --format esm --target bun --minify",
"build:types": "tsc --emitDeclarationOnly --outDir dist",
"build": "tsc",
"dev": "bun --watch src/index.ts --outdir dist --format esm --target bun",
"watch:types": "tsc --watch --preserveWatchOutput --emitDeclarationOnly",
"lint-staged": "lint-staged",
"test:integration": "bun test ./tests/integration/*",
"test": "npm run test:integration",
"coverage": "bun test ./tests/**/*.spec.ts --coverage",
"typecheck": "tsc --noEmit",
"husky": "husky init",
"release:pack": "npm pack",
"release": "npm publish",
"prepare": "husky"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"glandjs",
"event",
"event-broker",
"event-emitter",
"eds",
"typescript",
"bun",
"gland"
],
"devDependencies": {
"@commitlint/cli": "^19.8.0",
"@types/bun": "latest",
"@commitlint/config-conventional": "^19.8.0",
"husky": "^9.1.7",
"lint-staged": "^15.5.1",
"prettier": "^3.5.3",
"typescript": "^5.5.4"
},
"dependencies": {
"@glandjs/emitter": "^1.1.4"
}
}