UNPKG

3.96 kBJSONView Raw
1{
2 "name": "@mojaloop/event-sdk",
3 "version": "11.0.2",
4 "description": "Shared code for Event Logging",
5 "author": "ModusBox",
6 "contributors": [
7 "Georgi Georgiev <georgi.georgiev@modusbox.com>",
8 "Miguel de Barros <miguel.debarros@modusbox.com>",
9 "Ramiro González Maciel <ramiro@modusbox.com>",
10 "Valentin Genev <valentin.genev@modusbox.com>",
11 "Lewis Daly <lewisd@crosslaketech.com"
12 ],
13 "license": "Apache-2.0",
14 "homepage": "https://github.com/mojaloop/event-sdk#readme",
15 "bugs": {
16 "url": "https://github.com/mojaloop/event-sdk/issues"
17 },
18 "repository": {
19 "type": "git",
20 "url": "git+https://github.com/mojaloop/event-sdk.git"
21 },
22 "keywords": [
23 "event",
24 "mojaloop"
25 ],
26 "engines": {
27 "node": "=16.x"
28 },
29 "main": "./dist/index.js",
30 "types": "./dist/index.d.ts",
31 "files": [
32 "/config",
33 "/dist",
34 "/protos"
35 ],
36 "pre-commit": [
37 "warn-pre-commit",
38 "dep:check",
39 "lint",
40 "test"
41 ],
42 "scripts": {
43 "ts_app": "npx tsc ; npx ts-node src/examples/ts_app.ts",
44 "js_app": "npx tsc ; npx ts-node src/examples/js_app.js",
45 "server": "npx tsc ; npx ts-node src/server/server.ts",
46 "test": "npm run test:unit",
47 "pretest": "npm run build",
48 "prepublishOnly": "npm run build",
49 "lint": "npx eslint ./src/**/*.ts ./test/**/*.ts",
50 "lint:fix": "npm run lint -- --fix",
51 "build": "npx tsc",
52 "watch": "npx tsc -w",
53 "test:unit": "npx jest --reporters=default",
54 "test:xunit": "JEST_JUNIT_OUTPUT_DIR=./test/reports/ JEST_JUNIT_OUTPUT_NAME=xunit.xml npm run test:unit -- --reporters=jest-junit",
55 "test:coverage": "npm run test:unit -- --coverage --coverageThreshold='{}'",
56 "test:coverage-check": "npm run test:unit -- --coverage",
57 "warn-pre-commit": "echo \"pre commit tasks running. build and test\"",
58 "audit:resolve": "npx resolve-audit --production",
59 "audit:check": "npx check-audit --production",
60 "dep:check": "npx ncu -e 2",
61 "dep:update": "npx ncu -u",
62 "release": "npx standard-version --no-verify --releaseCommitMessageFormat 'chore(release): {{currentTag}} [skip ci]'",
63 "snapshot": "npx standard-version --no-verify --skip.changelog --prerelease snapshot --releaseCommitMessageFormat 'chore(snapshot): {{currentTag}}'"
64 },
65 "dependencies": {
66 "@grpc/proto-loader": "0.6.12",
67 "brototype": "0.0.6",
68 "error-callsites": "2.0.4",
69 "grpc": "1.24.9",
70 "lodash": "4.17.21",
71 "moment": "2.29.3",
72 "parse-strings-in-object": "2.0.0",
73 "protobufjs": "6.11.2",
74 "rc": "1.2.8",
75 "serialize-error": "8.1.0",
76 "traceparent": "1.0.0",
77 "tslib": "2.4.0",
78 "uuid4": "2.0.2",
79 "winston": "3.7.2"
80 },
81 "devDependencies": {
82 "@types/jest": "27.5.1",
83 "@types/lodash": "4.14.182",
84 "@types/node": "17.0.35",
85 "@types/sinon": "10.0.11",
86 "@types/tape": "4.13.2",
87 "@types/uuid": "8.3.4",
88 "@typescript-eslint/eslint-plugin": "^5.25.0",
89 "@typescript-eslint/parser": "^5.25.0",
90 "debug": "4.3.4",
91 "eslint": "^8.15.0",
92 "eslint-config-prettier": "^8.5.0",
93 "eslint-plugin-import": "^2.26.0",
94 "faucet": "0.0.1",
95 "jest": "28.1.0",
96 "jest-junit": "13.2.0",
97 "npm-audit-resolver": "3.0.0-7",
98 "npm-check-updates": "13.0.1",
99 "nyc": "15.1.0",
100 "pre-commit": "1.2.2",
101 "prettier": "^2.6.2",
102 "proxyquire": "2.1.3",
103 "replace": "^1.2.1",
104 "sinon": "14.0.0",
105 "ts-jest": "28.0.2",
106 "ts-node": "10.7.0",
107 "tslint": "6.1.3",
108 "typedoc": "0.22.15",
109 "typescript": "4.6.4"
110 },
111 "peerDependencies": {
112 "@mojaloop/central-services-logger": "11.x.x"
113 },
114 "peerDependenciesMeta": {
115 "@mojaloop/central-services-logger": {
116 "optional": false
117 }
118 },
119 "standard-version": {
120 "scripts": {
121 "postchangelog": "replace '\\[mojaloop/#(\\d+)\\]\\(https://github.com/mojaloop/(.*)/issues/(\\d+)\\)' '[mojaloop/#$1](https://github.com/mojaloop/project/issues/$1)' CHANGELOG.md"
122 }
123 }
124}