-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
88 lines (88 loc) · 1.98 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
{
"name": "@hathor/healthcheck-lib",
"version": "0.1.0",
"description": "Opinionated healthcheck library",
"main": "dist/index.js",
"directories": {
"dist": "dist"
},
"files": [
"/dist"
],
"scripts": {
"test": "jest",
"build": "tsc --project './tsconfig.json'",
"lint": "npm run eslint && npm run code:check",
"format": "npm run eslint:fix && npm run code:format",
"eslint": "eslint src/**/*.{ts,css,js,html} test/**/*.ts",
"eslint:fix": "eslint --fix src/**/*.ts test/**/*.ts",
"code:format": "prettier --write src/**/*.ts test/**/*.ts",
"code:check": "prettier --check src/**/*.ts test/**/*.ts"
},
"keywords": [
"healthcheck"
],
"author": "Hathor Team <[email protected]>",
"license": "MIT",
"devDependencies": {
"@types/jest": "^29.5.11",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"eslint-config-prettier": "^9.1.0",
"jest": "^29.7.0",
"prettier": "^3.1.1",
"prettier-eslint": "^16.2.0",
"ts-jest": "^29.1.1"
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": true
},
"jest": {
"clearMocks": true,
"collectCoverage": true,
"coverageDirectory": "coverage",
"preset": "ts-jest",
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
]
},
"eslintConfig": {
"env": {
"es2021": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"overrides": [],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"indent": "off",
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
]
}
}
}