-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
98 lines (98 loc) · 3.14 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
{
"name": "openapi-endpoint-trimmer",
"version": "2.0.1",
"description": "",
"type": "module",
"files": [
"dist/**"
],
"bin": {
"openapi-endpoint-trimmer": "dist/index.js"
},
"scripts": {
"start": "run-s build && node ./dist/index.js --url https://raw.githubusercontent.com/github/rest-api-description/main/descriptions/api.github.com/api.github.com.yaml --output generated/output.yaml --prefixes /search/repositories",
"commit": "npm run lint && git add --all && cz && git pull && git push",
"build": "tsc",
"lint": "pnpm run /^lint:.*$/",
"lint:eslint": "eslint ./src/**/*.ts",
"lint:typecheck": "tsc --noEmit",
"bump": "ncu -u --target semver && pnpm i",
"demo:mkdir": "mkdir -p generated",
"demo:trimmer": "pnpm build && node ./dist/index.js --url https://raw.githubusercontent.com/github/rest-api-description/main/descriptions/api.github.com/api.github.com.yaml --output generated/schema.yaml --prefixes /search",
"demo:validate": "swagger-cli validate generated/schema.yaml",
"demo:generate:zod": "openapi-zod-client generated/schema.yaml --output generated/types.ts",
"demo": "pnpm demo:mkdir && pnpm demo:trimmer && pnpm demo:validate && pnpm demo:generate:zod"
},
"packageManager": "[email protected]",
"author": "Anden Acitelli",
"license": "MIT",
"dependencies": {
"chalk": "^5.3.0",
"commander": "^12.1.0",
"js-yaml": "^4.1.0",
"undici": "^6.19.4",
"zod": "^3.23.8"
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@eslint/js": "^9.8.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.0",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^12.0.1",
"@semantic-release/release-notes-generator": "^14.0.1",
"@tsconfig/node-lts": "^20.1.3",
"@types/js-yaml": "^4.0.9",
"@types/node": "^22.0.0",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^9.8.0",
"husky": "^9.1.3",
"npm-check-updates": "^16.14.20",
"npm-run-all": "^4.1.5",
"openapi-zod-client": "^1.18.1",
"prettier": "^3.3.3",
"semantic-release": "^24.0.0",
"swagger-cli": "^4.0.4",
"typescript": "^5.5.4",
"typescript-eslint": "^8.0.0-alpha.54"
},
"repository": {
"type": "git",
"url": "git+https://github.com/andenacitelli/openapi-endpoint-trimmer.git"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"release": {
"branches": [
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
[
"@semantic-release/git",
{
"assets": [
"dist/**/*.*",
"package.json",
"package-lock.json"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
"@semantic-release/github"
]
}
}