publisher-subscriber-ts
Version:
Publisher subscriber library for javascript
57 lines (56 loc) • 1.7 kB
JSON
{
"name": "publisher-subscriber-ts",
"version": "2.0.0",
"description": "Publisher subscriber library for javascript",
"main": "lib/publisher.min.js",
"module": "lib/publisher.es.js",
"types": "lib/publisher.d.ts",
"scripts": {
"test": "jest --config jestconfig.json",
"clear": "rimraf lib/*",
"build": "rollup -c",
"format": "prettier --write \"src/**/*.ts\"",
"lint": "tslint -p tsconfig.json",
"prepare": "npm run clear && npm run build && npm run uglify",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm run lint",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags",
"uglify": "uglifyjs lib/publisher.min.js --compress --mangle --output lib/publisher.min.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/harshmistry/publisher-subscriber-ts.git"
},
"keywords": [
"Publisher",
"Subscriber",
"Topic"
],
"author": "Harsh Mistry",
"license": "ISC",
"files": [
"lib/**/*"
],
"bugs": {
"url": "https://github.com/harshmistry/publisher-subscriber-ts/issues"
},
"homepage": "https://github.com/harshmistry/publisher-subscriber-ts#readme",
"devDependencies": {
"@types/jest": "^26.0.19",
"@types/uuid": "^8.3.0",
"jest": "^26.6.3",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"rollup": "^2.35.1",
"rollup-plugin-typescript2": "^0.29.0",
"ts-jest": "^26.4.4",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.1.3",
"uglify-es": "^3.3.9"
},
"dependencies": {
"uuid": "^8.3.2"
}
}