generated from bryopsida/node-ts-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
114 lines (114 loc) · 3.12 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "syslog-portal",
"version": "0.2.13",
"description": "A portal for ingesting syslog data",
"exports": "./dist/app.js",
"type": "module",
"engines": {
"npm": ">=8.0.0",
"node": ">=18.0.0"
},
"scripts": {
"prepack": "npm run build",
"start": "node dist/app.js",
"start:dev": "NODE_CONFIG_DIR=./src/config NODE_ENV=dev nodemon",
"start:services": "docker-compose up -d",
"stop:services": "docker-compose down",
"build": "node_modules/typescript/bin/tsc --project ./ && mkdir -p dist/config && cp src/config/*.json dist/config/",
"build:docs": "typedoc src/**/*.ts --exclude node_modules/@types/node/events.d.ts ",
"build:image": "docker build . -t ghcr.io/bryopsida/syslog-portal:local",
"test": "NODE_CONFIG_DIR=$PWD/test/config/ NODE_ENV=test NODE_OPTIONS=--experimental-vm-modules jest --coverage --testPathPattern='test/.*\\.spec\\.ts'",
"lint": "eslint --ext .ts src/ test/ && prettier --check .",
"lint:fix": "eslint --ext .ts src/ test/ --fix && prettier --write ."
},
"repository": {
"type": "git",
"url": "git+https://github.com/bryopsida/syslog-portal.git"
},
"files": [
"dist"
],
"keywords": [
"syslog",
"rfc5424",
"typescript",
"node",
"pouchdb",
"couchdb",
"mongodb"
],
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/bryopsida/syslog-portal/issues"
},
"homepage": "https://github.com/bryopsida/syslog-portal#readme",
"devDependencies": {
"@jest/globals": "29.7.0",
"@promster/types": "^14.0.0",
"@testcontainers/mongodb": "^10.2.0",
"@types/config": "^3.3.0",
"@types/jest": "^29.0.0",
"@types/node": "^22.0.0",
"@types/pouchdb": "^6.4.0",
"@typescript-eslint/eslint-plugin": "^5.15.0",
"@typescript-eslint/parser": "^5.15.0",
"axios": "^1.2.2",
"eslint": "^8.30.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard-with-typescript": "^37.0.0",
"eslint-plugin-github": "^5.0.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.0",
"jest": "^29.0.0",
"nodemon": "^3.0.0",
"pino-socket": "^7.3.0",
"pino-syslog": "^3.0.0",
"prettier": "3.4.1",
"standard": "^17.0.0",
"testcontainers": "^10.0.0",
"ts-jest": "29.x",
"ts-node": "^10.7.0",
"typedoc": "^0.27.0",
"typescript": "^5.0.0"
},
"bin": {
"syslog-portal": "dist/app.js"
},
"dependencies": {
"@promster/metrics": "^10.0.0",
"@promster/server": "^14.0.0",
"config": "^3.3.9",
"es-main": "^1.2.0",
"generic-pool": "^3.9.0",
"inversify": "^6.0.1",
"mongodb": "^6.0.0",
"pino": "^9.0.0",
"pouchdb": "^9.0.0",
"reflect-metadata": "^0.2.0"
},
"overrides": {
"semver": "7.6.3"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testTimeout": 240000,
"verbose": true,
"moduleNameMapper": {
"(.+)\\.js": "$1"
},
"extensionsToTreatAsEsm": [
".ts"
],
"transform": {
"\\.[jt]sx?$": [
"ts-jest",
{
"useESM": true
}
]
}
}
}