UNPKG

3.83 kBJSONView Raw
1{
2 "name": "@mojaloop/event-sdk",
3 "version": "11.0.0",
4 "description": "Shared code for Event Logging",
5 "keywords": [
6 "event",
7 "mojaloop"
8 ],
9 "author": "ModusBox",
10 "contributors": [
11 "Georgi Georgiev <georgi.georgiev@modusbox.com>",
12 "Miguel de Barros <miguel.debarros@modusbox.com>",
13 "Ramiro González Maciel <ramiro@modusbox.com>",
14 "Valentin Genev <valentin.genev@modusbox.com>",
15 "Lewis Daly <lewisd@crosslaketech.com"
16 ],
17 "license": "Apache-2.0",
18 "homepage": "https://github.com/mojaloop/event-sdk#readme",
19 "bugs": {
20 "url": "https://github.com/mojaloop/event-sdk/issues"
21 },
22 "repository": {
23 "type": "git",
24 "url": "git+https://github.com/mojaloop/event-sdk.git"
25 },
26 "main": "./dist/index.js",
27 "types": "./dist/index.d.ts",
28 "files": [
29 "/config",
30 "/dist",
31 "/protos"
32 ],
33 "engines": {
34 "node": "=16.x"
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 "@mojaloop/central-services-logger": "11.0.0",
68 "brototype": "0.0.6",
69 "error-callsites": "2.0.4",
70 "grpc": "1.24.9",
71 "lodash": "4.17.21",
72 "moment": "2.29.3",
73 "parse-strings-in-object": "2.0.0",
74 "protobufjs": "6.11.2",
75 "rc": "1.2.8",
76 "serialize-error": "8.1.0",
77 "traceparent": "1.0.0",
78 "tslib": "2.4.0",
79 "uuid4": "2.0.2",
80 "winston": "3.7.2"
81 },
82 "devDependencies": {
83 "@types/jest": "27.5.1",
84 "@types/lodash": "4.14.182",
85 "@types/node": "17.0.34",
86 "@types/sinon": "10.0.11",
87 "@types/tape": "4.13.2",
88 "@types/uuid": "8.3.4",
89 "@typescript-eslint/eslint-plugin": "^5.25.0",
90 "@typescript-eslint/parser": "^5.25.0",
91 "debug": "4.3.4",
92 "eslint": "^8.15.0",
93 "eslint-config-prettier": "^8.5.0",
94 "eslint-plugin-import": "^2.26.0",
95 "faucet": "0.0.1",
96 "jest": "28.1.0",
97 "jest-junit": "13.2.0",
98 "npm-audit-resolver": "3.0.0-7",
99 "npm-check-updates": "13.0.1",
100 "nyc": "15.1.0",
101 "pre-commit": "1.2.2",
102 "prettier": "^2.6.2",
103 "proxyquire": "2.1.3",
104 "replace": "^1.2.1",
105 "sinon": "14.0.0",
106 "ts-jest": "28.0.2",
107 "ts-node": "10.7.0",
108 "tslint": "6.1.3",
109 "typedoc": "0.22.15",
110 "typescript": "4.6.4"
111 },
112 "standard-version": {
113 "scripts": {
114 "postchangelog": "npx replace '\\[mojaloop/#(\\d+)\\]\\(https://github.com/mojaloop/(.*)/issues/(\\d+)\\)' '[mojaloop/#$1](https://github.com/mojaloop/project/issues/$1)' CHANGELOG.md"
115 }
116 }
117}