@nowarajs/typed-event-emitter
Version:
Typed Event Emitter is a TypeScript library that provides a strongly typed event emitter, allowing developers to define custom events with specific payloads, ensuring type safety and reducing runtime errors in event-driven applications.
92 lines โข 2.12 kB
JSON
{
"name": "@nowarajs/typed-event-emitter",
"version": "1.1.12",
"author": "NowaraJS",
"description": "Typed Event Emitter is a TypeScript library that provides a strongly typed event emitter, allowing developers to define custom events with specific payloads, ensuring type safety and reducing runtime errors in event-driven applications.",
"type": "module",
"license": "MIT",
"keywords": [
"bun",
"node",
"nowarajs",
"event-driven",
"event-emitter",
"type-safe",
"typed-events"
],
"scripts": {
"build": "bun builder.ts",
"dev": "bun --watch sandbox/index.ts",
"docs": "bunx typedoc --tsconfig tsconfig.build.json",
"fix-lint": "eslint --fix ./source",
"lint": "eslint ./source",
"test:integration": "bun test $(find test/integration -name '*.spec.ts')",
"test:unit": "bun test --coverage $(find test/unit -name '*.spec.ts')",
"test": "bun test --coverage"
},
"devDependencies": {
"@eslint/js": "^9.33.0",
"@stylistic/eslint-plugin": "^5.2.3",
"@types/bun": "^1.2.20",
"eslint": "^9.33.0",
"globals": "^16.3.0",
"typescript": "^5.9.2",
"typescript-eslint": "^8.39.0"
},
"exports": {
"./types": "./dist/types/index.js",
".": "./dist/index.js"
},
"changelog": {
"types": {
"feat": {
"title": "๐ Enhancements",
"semver": "minor"
},
"perf": {
"title": "โก Performance",
"semver": "patch"
},
"fix": {
"title": "๐ง Fixes",
"semver": "patch"
},
"refactor": {
"title": "๐งน Refactors",
"semver": "patch"
},
"docs": {
"title": "๐ Documentation",
"semver": "patch"
},
"build": {
"title": "๐ฆ Build",
"semver": "patch"
},
"types": {
"title": "๐ Types",
"semver": "patch"
},
"chore": {
"title": "๐ฆ Chore"
},
"examples": {
"title": "๐ Examples"
},
"test": {
"title": "๐งช Tests"
},
"style": {
"title": "๐จ Styles"
},
"ci": {
"title": "๐ค CI"
}
},
"templates": {
"commitMessage": "chore(๐ฆ): v{{newVersion}}",
"tagMessage": "v{{newVersion}}",
"tagBody": "v{{newVersion}}"
}
}
}