-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
102 lines (102 loc) · 2.27 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
{
"name": "@octokit/endpoint",
"version": "0.0.0-development",
"type": "module",
"publishConfig": {
"access": "public",
"provenance": true
},
"description": "Turns REST API endpoints into generic request options",
"scripts": {
"build": "node scripts/build.mjs && tsc -p tsconfig.json",
"lint": "prettier --check '{scripts,src,test}/**/*' README.md package.json",
"lint:fix": "prettier --write '{scripts,src,test}/**/*' README.md package.json",
"pretest": "npm run -s lint",
"test": "vitest run --coverage"
},
"repository": "github:octokit/endpoint.js",
"keywords": [
"octokit",
"github",
"api",
"rest"
],
"author": "Gregor Martynus (https://github.com/gr2m)",
"license": "MIT",
"devDependencies": {
"@octokit/tsconfig": "^4.0.0",
"@types/node": "^22.0.0",
"@vitest/coverage-v8": "^2.0.2",
"esbuild": "^0.24.0",
"glob": "^11.0.0",
"prettier": "3.3.3",
"semantic-release": "^24.0.0",
"semantic-release-plugin-update-version-in-files": "^1.0.0",
"typescript": "^5.0.0",
"vitest": "^2.0.2"
},
"dependencies": {
"@octokit/types": "^13.0.0",
"universal-user-agent": "^7.0.2"
},
"release": {
"branches": [
"+([0-9]).x",
"main",
"next",
{
"name": "beta",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github",
[
"@semantic-release/npm",
{
"pkgRoot": "./pkg"
}
],
[
"semantic-release-plugin-update-version-in-files",
{
"files": [
"pkg/dist-web/*",
"pkg/dist-node/*",
"pkg/*/version.*"
]
}
]
]
},
"jest": {
"extensionsToTreatAsEsm": [
".ts"
],
"transform": {
"^.+\\.(ts|tsx)$": [
"ts-jest",
{
"tsconfig": "test/tsconfig.test.json",
"useESM": true
}
]
},
"coverageThreshold": {
"global": {
"statements": 100,
"branches": 100,
"functions": 100,
"lines": 100
}
},
"moduleNameMapper": {
"^(.+)\\.jsx?$": "$1"
}
},
"engines": {
"node": ">= 18"
}
}