send-and-receive
Version:
Two small helper methods that simplify communication between nodes in different subtrees of the browser DOM.
43 lines (42 loc) • 1.15 kB
JSON
{
"name": "send-and-receive",
"version": "1.5.0",
"description": "Two small helper methods that simplify communication between nodes in different subtrees of the browser DOM.",
"main": "dist/umd.js",
"module": "dist/esm.js",
"unpkg": "dist/umd.js",
"types": "index.d.ts",
"sideEffects": false,
"repository": "martinandert/send-and-receive",
"author": "Martin Andert",
"license": "MIT",
"keywords": [
"event",
"send",
"dispatch",
"trigger",
"fire",
"receive",
"listen",
"subscribe",
"browser"
],
"scripts": {
"pretest": "yarn bundle",
"test": "node test/run.js",
"build": "yarn typings && yarn bundle && yarn minify",
"typings": "yarn tsc --declaration --emitDeclarationOnly --outDir .",
"bundle": "rollup --config",
"minify": "uglifyjs dist/umd.js --compress --mangle --output dist/umd.min.js"
},
"devDependencies": {
"chalk": "^2.4.2",
"nightmare": "^3.0.2",
"rollup": "^1.21.4",
"rollup-plugin-buble": "^0.19.8",
"rollup-plugin-typescript": "^1.0.1",
"tslib": "^1.10.0",
"typescript": "^3.6.3",
"uglify-js": "^3.6.0"
}
}