UNPKG

@white-matrix/event-emitter

Version:

The Emitter can be used to expose an Event to the public to fire it from the insides.

42 lines (41 loc) 1.26 kB
{ "name": "@white-matrix/event-emitter", "version": "1.0.1", "description": "The Emitter can be used to expose an Event to the public to fire it from the insides.", "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { "test": "jest --config jestConfig.json", "build": "tsc --downlevelIteration", "format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"", "lint": "tslint -p tsconfig.json", "prepare": "npm run build", "prepublishOnly": "npm test && npm run lint", "preversion": "npm run lint", "version": "npm run format && git add -A src", "postversion": "git push && git push --tags" }, "repository": { "type": "git", "url": "git+https://github.com/WhiteMatrixTech/eventEmitter.git" }, "keywords": ["Event", "EventEmitter"], "author": "CAOXM", "license": "ISC", "bugs": { "url": "https://github.com/WhiteMatrixTech/eventEmitter/issues" }, "homepage": "https://github.com/WhiteMatrixTech/eventEmitter#readme", "devDependencies": { "@types/jest": "^26.0.23", "jest": "^27.0.4", "prettier": "^2.3.1", "ts-jest": "^27.0.3", "tslint": "^6.1.3", "tslint-config-prettier": "^1.18.0", "typescript": "^4.3.2" }, "files": [ "lib/**/*" ] }