-
Notifications
You must be signed in to change notification settings - Fork 87
/
package.json
104 lines (104 loc) · 2.91 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
{
"name": "swagger-markdown",
"version": "2.3.2",
"description": "Create markdown API documentation from swagger file",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"test": "npm run test:app && npm run test:lint && npm run test:markdown",
"test:app": "jest --detectOpenHandles --forceExit",
"test:watch": "jest --watch",
"test:lint": "eslint .",
"test:markdown": "markdownlint ./examples/*.md -c .markdownlint.json",
"build": "rimraf dist && tsc && chmod +x ./dist/swagger-markdown.js",
"build:watch": "tsc -w",
"prepublishOnly": "npm run build",
"commit": "git-cz",
"semantic-release": "semantic-release",
"make:examples": "ts-node ./scripts/make-examples.ts",
"clean": "rm -rf ./dist",
"typecheck": "tsc --noEmit",
"prepare": "husky install"
},
"bin": {
"swagger-markdown": "dist/swagger-markdown.js"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"{src,test}/**/*.js": [
"eslint --fix --ignore-pattern 'src/**/*.js' --ignore-pattern 'tests/**/*.spec.js' --ignore-pattern 'scripts/**/*.js'"
]
},
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git",
"@semantic-release/github"
]
},
"repository": {
"type": "git",
"url": "https://github.com/syroegkin/swagger-markdown.git"
},
"author": "Sergii Skorokhodov",
"license": "MIT",
"bugs": {
"url": "https://github.com/syroegkin/swagger-markdown/issues"
},
"homepage": "https://github.com/syroegkin/swagger-markdown#readme",
"keywords": [
"swagger",
"md",
"markdown"
],
"devDependencies": {
"@commitlint/cli": "^18.4.0",
"@commitlint/config-conventional": "^18.4.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^11.1.0",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.1.0",
"@semantic-release/npm": "^11.0.1",
"@semantic-release/release-notes-generator": "^12.1.0",
"@types/argparse": "^2.0.13",
"@types/chai": "^4.3.10",
"@types/jest": "^29.5.8",
"@types/node": "^20.9.0",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"chai": "^4.3.10",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.53.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-plugin-import": "^2.29.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"lint-staged": "^15.1.0",
"markdownlint-cli": "^0.37.0",
"rimraf": "^5.0.5",
"semantic-release": "^21.1.2",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
},
"dependencies": {
"@apidevtools/swagger-parser": "^10.1.0",
"argparse": "2.0.1",
"markdownlint": "^0.32.0",
"markdownlint-rule-helpers": "^0.22.0",
"openapi-types": "^12.1.3"
}
}