custom-app-event
Version:
基于typescript, 实现一个简单的event库,快速集成发布订阅模式
33 lines • 793 B
JSON
{
"name": "custom-app-event",
"version": "0.0.4",
"description": "基于typescript, 实现一个简单的event库,快速集成发布订阅模式",
"main": "dist/index.js",
"scripts": {
"dev": "tsc --watch",
"lint": "eslint . --ext .ts",
"build": "npm run lint && tsc",
"prepublish": "npm run build"
},
"keywords": [
"event",
"事件",
"发布者",
"publish",
"订阅",
"subscription"
],
"author": "SuPeiSen",
"license": "ISC",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.3.0",
"@typescript-eslint/parser": "^5.3.0",
"eslint": "^8.2.0",
"prettier": "^2.5.1",
"prettier-eslint": "^13.0.0",
"typescript": "^4.4.4"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
}
}