-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
124 lines (124 loc) · 3.28 KB
/
package.json
File metadata and controls
124 lines (124 loc) · 3.28 KB
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
115
116
117
118
119
120
121
122
123
124
{
"name": "@mountainpass/problem-document",
"description": "A basic RFC7807 Problem Details document with basic type checking and autocomplete",
"repository": {
"type": "git",
"url": "https://github.com/mountain-pass/problem-document.git"
},
"scripts": {
"build": "npm run compile && npm run test && npm run package",
"compile": "tsc --build",
"eslint": "eslint --fix src test",
"eslint:json": "eslint --no-error-on-unmatched-pattern \"**/*.json\"",
"package": "mkdir -p dist/js && npm pack --pack-destination dist/js",
"prepare": "husky",
"spellcheck": "cspell lint --gitignore --dot --show-suggestions -e \".git/**\" \"**\"",
"test": "jest --passWithNoTests --all --updateSnapshot && npm run eslint && npm run spellcheck && npm run eslint:json",
"test:update": "jest --updateSnapshot",
"test:watch": "jest --watch",
"watch": "tsc --build -w"
},
"author": {
"name": "Mountain Pass",
"email": "info@mountain-pass.com.au",
"url": "https://mountain-pass.com.au",
"organization": true
},
"devDependencies": {
"@commitlint/cli": "^20",
"@commitlint/config-conventional": "^20",
"@types/http-status-codes": "^1.2.0",
"@types/jest": "^30",
"@types/node": "^22",
"cspell": "*",
"dry-aged-deps": "^2.6.0",
"eslint": "^10",
"eslint-config-prettier": "^10",
"eslint-plugin-jsdoc": "^62",
"eslint-plugin-jsonc": "^3",
"eslint-plugin-no-secrets": "^2",
"eslint-plugin-prettier": "^5",
"eslint-plugin-unicorn": "^63",
"jsonc-eslint-parser": "^3",
"typescript-eslint": "^8",
"http-status-codes": "^2.2.0",
"husky": "^9",
"jest": "^29",
"jest-junit": "^16",
"json-schema": "^0.4.0",
"prettier": "^3",
"ts-jest": "^29",
"typescript": "^5"
},
"keywords": [
"problem-details",
"rfc7807"
],
"main": "lib/index.js",
"license": "Apache-2.0",
"homepage": "https://github.com/mountain-pass/problem-document",
"publishConfig": {
"access": "public"
},
"version": "0.0.0",
"bugs": {
"url": "https://github.com/mountain-pass/problem-document/issues"
},
"jest": {
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
"<rootDir>/(test|src)/**/?(*.)+(spec|test).ts?(x)"
],
"clearMocks": true,
"collectCoverage": true,
"coverageReporters": [
"json",
"lcov",
"clover",
"cobertura",
"text"
],
"coverageDirectory": "coverage",
"coveragePathIgnorePatterns": [
"/node_modules/"
],
"testPathIgnorePatterns": [
"/node_modules/"
],
"watchPathIgnorePatterns": [
"/node_modules/"
],
"reporters": [
"default",
[
"jest-junit",
{
"outputDirectory": "test-reports"
}
]
],
"preset": "ts-jest",
"transform": {
"^.+\\.tsx?$": [
"ts-jest",
{
"tsconfig": "tsconfig.dev.json"
}
]
}
},
"types": "lib/index.d.ts",
"contributors": [
"Claude <noreply@anthropic.com>",
"Tom Howard <tom@windyroad.com.au>",
"dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>"
]
}