1 Star 0 Fork 0

郭斌勇 / event-bus

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
package.json 1.74 KB
一键复制 编辑 原始数据 按行查看 历史
郭斌勇 提交于 2022-12-07 16:25 . docs: api
{
"name": "@gby/event-bus",
"version": "1.2.1",
"description": "event-bus 是基于原生 EventTarget 类来开发的事件总线,无依赖(零依赖),充分复用原生的能力增加了易用性。拥有极少的代码就实现了 EventBus 的核心功能,而且还具备精确且完善的 TypeScript 类型系统",
"main": "dist/event-bus.umd.js",
"module": "dist/event-bus.mjs",
"exports": {
"import": "./dist/event-bus.mjs",
"require": "./dist/event-bus.umd.js"
},
"types": "dist/index.d.ts",
"sideEffects": false,
"homepage": "https://github.com/GuoBinyong/event-bus#readme",
"repository": {
"type": "git",
"url": "https://github.com/GuoBinyong/event-bus"
},
"bugs": {
"url": "https://github.com/GuoBinyong/event-bus/issues",
"email": "guobinyong@qq.com"
},
"keywords": [
"事件总线",
"event bus",
"event",
"EventTarget",
"无依赖(零依赖)"
],
"author": {
"name": "郭斌勇",
"email": "guobinyong@qq.com"
},
"license": "MIT",
"files": [
"dist/[^.]*",
"types/[^.]*",
"docs/[^.]*",
"doc/[^.]*"
],
"scripts": {
"dev": "vite",
"build": "vite build",
"bunch": "vite build --mode bunch",
"debug": "debug=true vite build",
"debug:bunch": "debug=true vite build --mode bunch",
"preview": "vite preview",
"api": "api-extractor run -c api-extractor.jsonc -l -v",
"doc": "api-documenter markdown -i ./temp -o doc/api",
"apidoc": "npm run api ; npm run doc"
},
"devDependencies": {
"@microsoft/api-documenter": "^7.19.24",
"@microsoft/api-extractor": "^7.33.6",
"build-tls": "^1.3.11",
"dts-bundle-generator": "^7.0.0",
"package-tls": "^1.3.1",
"typescript": "^4.8.4",
"vite": "^3.2.3"
}
}
1
https://gitee.com/guobinyong/event-bus.git
git@gitee.com:guobinyong/event-bus.git
guobinyong
event-bus
event-bus
main

搜索帮助

53164aa7 5694891 3bd8fe86 5694891