UNPKG

mini-signals

Version:
74 lines (73 loc) 2.43 kB
{ "name": "mini-signals", "version": "2.0.0", "description": "signals, in TypeScript, fast", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "/dist", "/docs" ], "scripts": { "test": "npm-run-all test:*", "test:unit": "mocha --reporter spec --require ts-node/register src/**/*.spec.ts -n expose-gc", "test:deopt": "node --trace_opt --trace_deopt ./bench/test-deopt.js | grep \"disabled optimization\" || true", "test:types": "tsd -f ./src/mini-signals.test-d.ts", "build": "npm-run-all build:*", "build:tsc": "tsc", "xxx-build:doc": "typedoc --plugin typedoc-plugin-markdown --out docs src/index.ts", "coverage": "nyc --reporter=html --reporter=text --timeout=3000 npm run test:unit", "bench": "ts-node ./bench/index.js | tee ./bench/latest.md", "bench:emit": "ts-node ./bench/emit.js", "bench:emit-bind": "ts-node ./bench/emit-bind.js", "bench:emit-context": "ts-node ./bench/emit-context.js", "bench:emit-depot": "ts-node ./bench/emit-depot.js", "version": "chg release -y && git add -A CHANGELOG.md", "np": "npm run build && np", "fix": "npm-run-all fix:*", "fix:prettier": "prettier --write './{src, bench}/**/*.*'", "fix:lint": "eslint './{src, bench}/**/*.*' --fix" }, "repository": { "type": "git", "url": "https://github.com/Hypercubed/mini-signals.git" }, "keywords": [ "events", "signals", "fast" ], "author": "J. Harshbarger", "license": "MIT", "bugs": { "url": "https://github.com/Hypercubed/mini-signals/issues" }, "homepage": "https://github.com/Hypercubed/mini-signals", "devDependencies": { "@types/chai": "^4.3.4", "@types/mocha": "^10.0.1", "@typescript-eslint/eslint-plugin": "^5.57.0", "benchmark": "^1.0.0", "chai": "^4.3.7", "chg": "^0.4.0", "eslint": "^8.37.0", "eslint-config-prettier": "^8.8.0", "eslint-config-standard-with-typescript": "^34.0.1", "eslint-plugin-import": "^2.27.5", "eslint-plugin-n": "^15.7.0", "eslint-plugin-promise": "^6.1.1", "eventemitter3": "^5.0.0", "mocha": "^10.2.0", "np": "^7.7.0", "npm-check": "^6.0.1", "npm-run-all": "^4.1.5", "nyc": "^15.1.0", "prettier": "2.8.7", "signals": "^1.0.0", "ts-node": "^10.9.1", "tsd": "^0.28.1", "typedoc": "^0.23.28", "typedoc-plugin-markdown": "^3.14.0", "typescript": "^5.0.2" } }