synthetic-event
Version:
A collection of base classes for custom events and event targets.
78 lines (77 loc) • 1.74 kB
JSON
{
"name": "synthetic-event",
"version": "2.0.0",
"description": "A collection of base classes for custom events and event targets.",
"homepage": "https://github.com/vanruesc/synthetic-event",
"license": "Zlib",
"type": "module",
"sideEffects": false,
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"default": "./dist/index.js"
}
},
"keywords": [
"event",
"target",
"emitter",
"listener",
"dispatcher",
"synthetic",
"custom"
],
"author": {
"name": "Raoul van Rüschen",
"email": "vanruesc@outlook.de"
},
"repository": {
"type": "git",
"url": "https://github.com/vanruesc/synthetic-event.git"
},
"bugs": {
"url": "https://github.com/vanruesc/synthetic-event/issues"
},
"files": [
"dist"
],
"engines": {
"node": ">= 21"
},
"pnpm": {
"onlyBuiltDependencies": [
"esbuild"
]
},
"scripts": {
"build": "run-p build:js:min build:dts",
"build:js": "node esbuild",
"build:js:min": "node esbuild -m",
"build:dts": "tsc -p tsconfig.d.json",
"clean": "del-cli dist public",
"doc": "typedoc --plugin typedoc-plugin-mdn-links",
"lint": "run-p lint:*",
"lint:js": "eslint --fix src test",
"lint:tsc": "tsc --noEmit",
"prepublishOnly": "npm test",
"pretest": "run-s clean lint build",
"test": "node --import tsx --test",
"posttest": "npm run doc"
},
"devDependencies": {
"@types/node": "25.x.x",
"del-cli": "7.x.x",
"esbuild": "0.27.x",
"eslint": "9.x.x",
"eslint-config-aether": "2.x.x",
"npm-run-all": "4.x.x",
"tslib": "2.x.x",
"tsx": "4.x.x",
"typedoc": "0.x.x",
"typedoc-plugin-mdn-links": "5.x.x",
"typescript": "5.9.x"
}
}