yavent
Version:
A flexible, lightweight event subscriber & emitter
84 lines (83 loc) • 2.35 kB
JSON
{
"name": "yavent",
"version": "0.1.5",
"description": "A flexible, lightweight event subscriber & emitter",
"keywords": [
"events",
"emitter",
"subscriber"
],
"homepage": "https://github.com/swansontec/yavent#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/swansontec/yavent"
},
"license": "MIT",
"author": "William Swanson",
"exports": {
".": {
"import": "./lib/esm/index.js",
"require": "./lib/cjs/index.js",
"types": "./lib/src/index.d.ts"
},
"./package.json": "./package.json"
},
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"types": "./lib/src/index.d.ts",
"files": [
"CHANGELOG.md",
"lib/*",
"README.md",
"src/*"
],
"scripts": {
"build.flow": "flow",
"build.lib": "rollup -c && echo '{\"type\":\"module\"}' > lib/esm/package.json",
"build.types": "tsc",
"clean": "rimraf lib",
"fix": "npm run lint -- --fix",
"lint": "eslint --ext .js,.ts .",
"precommit": "npm-run-all lint -p test build.*",
"prepare": "husky install && npm-run-all clean -p build.*",
"test": "nyc mocha test/**/*.ts"
},
"husky": {
"hooks": {
"pre-commit": "npm run precommit"
}
},
"devDependencies": {
"@babel/core": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"@babel/preset-typescript": "^7.10.4",
"@rollup/plugin-babel": "^5.0.4",
"@rollup/plugin-node-resolve": "^8.1.0",
"@types/mocha": "^7.0.2",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^3.6.0",
"assert-log": "^0.2.1",
"babel-eslint": "^10.1.0",
"eslint": "^7.4.0",
"eslint-config-standard-kit": "^0.14.4",
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-simple-import-sort": "^5.0.3",
"eslint-plugin-standard": "^4.0.1",
"flow-bin": "^0.132.0",
"husky": "^7.0.0",
"mocha": "^8.0.1",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"rollup": "^2.21.0",
"rollup-plugin-filesize": "^9.0.2",
"rollup-plugin-flow-entry": "^0.3.4",
"rollup-plugin-uglify": "^6.0.4",
"sucrase": "^3.15.0",
"typescript": "^3.9.6"
}
}