mediatr-ts
Version:
Mimic the famous MediatR csharp library see: (https://github.com/jbogard/MediatR)
63 lines (62 loc) • 2.25 kB
JSON
{
"name": "mediatr-ts",
"version": "2.1.0",
"type": "module",
"description": "Mimic the famous MediatR csharp library see: (https://github.com/jbogard/MediatR)",
"types": "lib/types/index.d.ts",
"main": "lib/cjs/index.js",
"scripts": {
"pack": "npm pack",
"clean": "npx rimraf lib",
"start": "ts-node src/index.ts",
"test": "npm run clean && jest",
"build": "npm run clean && npm run build:ts && npm run build:alias && npm run build:cjs",
"build:cjs": "npx copyfiles package.json lib/cjs && npx replace-json-property lib/cjs/package.json type commonjs",
"build:ts": "npx tsc -b tsconfig.production.cjs.json tsconfig.production.esm.json tsconfig.production.types.json",
"build:alias": "npx tsc-alias --project tsconfig.production.types.json && tsc-alias --project tsconfig.production.cjs.json && tsc-alias --project tsconfig.production.esm.json",
"prepare": "npm run build",
"test:coverage": "npm test -- --coverage",
"test:badges": "npm run test:coverage && jest-coverage-badges-ng --output badges"
},
"keywords": [
"mediatr",
"mediator",
"inversify",
"pattern"
],
"author": "m4ss1m0",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/m4ss1m0g/mediatr-ts.git"
},
"devDependencies": {
"@types/jest": "^28.1.6",
"@types/node": "^18.6.3",
"@typescript-eslint/eslint-plugin": "^5.59.7",
"@typescript-eslint/parser": "^5.59.7",
"copyfiles": "^2.4.1",
"eslint": "^8.41.0",
"inversify": "^6.0.1",
"jest": "^29.5.0",
"jest-coverage-badges-ng": "^1.0.1",
"reflect-metadata": "^0.1.13",
"replace-json-property": "^1.9.0",
"rimraf": "^5.0.1",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"tsc-alias": "^1.8.6",
"typescript": "^5.0.4"
},
"files": [
"lib/*"
],
"exports": {
".": {
"types": "./lib/types/index.d.ts",
"require": "./lib/cjs/index.js",
"import": "./lib/esm/index.js",
"default": "./lib/esm/index.js"
}
}
}