-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
114 lines (114 loc) · 2.52 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": "ecs-logs-js",
"version": "1.1.0",
"description": "Simple Node.js console logger that outputs human friendly and ecs-logs compatible messages",
"author": "Roland Warmerdam (https://roland.codes)",
"keywords": [
"ecs-logs",
"log",
"logger",
"logging",
"ECS",
"AWS",
"segment"
],
"repository": "segmentio/ecs-logs-js",
"license": "MIT",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"files": [
"dist/src",
"src"
],
"scripts": {
"prepublishOnly": "yarn clean && yarn build",
"test": "FORCE_COLOR=1 jest",
"lint": "eslint '**/*.ts'",
"build": "tsc",
"clean": "rimraf dist"
},
"engines": {
"node": ">=10"
},
"dependencies": {
"chalk": "^4.1.2",
"extract-stack": "^2.0.0",
"fast-safe-stringify": "^2.0.7",
"js-yaml": "^3.13.1",
"replace-string": "^3.0.0",
"serialize-error": "^6.0.0"
},
"devDependencies": {
"@babel/preset-typescript": "^7.23.3",
"@types/jest": "^29.5.11",
"@types/js-yaml": "^3.12.3",
"@types/node": "^20",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
"husky": "^4.2.3",
"jest": "^29.7.0",
"jest-date-mock": "^1.0.8",
"lint-staged": "^10.0.9",
"prettier": "^2.0.2",
"rimraf": "^3.0.0",
"ts-jest": "^29.1.1",
"typescript": "^5.3.3"
},
"resolutions": {
"ansi-regex": "^5.0.1",
"@babel/traverse": "^7.23.6",
"@jest/schemas": "^29.6.3",
"json-schema": "^0.4.0",
"json5": "^2.2.3",
"minimist": "^1.2.8",
"strip-ansi": "^6.0.1"
},
"eslintIgnore": [
"/dist/"
],
"eslintConfig": {
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"prettier"
],
"parserOptions": {
"project": "./tsconfig.json"
},
"env": {
"node": true,
"jest": true
}
},
"prettier": {
"semi": false,
"singleQuote": true,
"printWidth": 120
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"clearMocks": true,
"testPathIgnorePatterns": [
"<rootDir>/dist/"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write"
],
"*.{yml,md,json}": [
"prettier --write"
]
}
}