-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
129 lines (129 loc) · 3.29 KB
/
package.json
File metadata and controls
129 lines (129 loc) · 3.29 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
125
126
127
128
129
{
"name": "easy-api-doc",
"version": "0.2.0",
"description": "Good, updated, and easy OpenAPI documentation for free and for all!",
"main": "dist/index.js",
"scripts": {
"build": "tsc -p tsconfig.build.json --sourcemap --strict",
"commit": "cz",
"dev": "nodemon",
"lint": "tsc --project tsconfig.json --noEmit && eslint ./src/**/*.ts --fix",
"format": "prettier --write .",
"release:minor": "npm run build && standard-version --no-verify --release-as minor",
"release:major": "npm run build && standard-version --no-verify --release-as major",
"release:patch": "npm run build && standard-version --no-verify --release-as patch",
"test": "mocha -r ts-node/register 'test/**/*.test.ts' --exit --bail",
"test:tdd": "mocha -r ts-node/register 'test/**/*.test.ts' --watch --watch-extensions ts --grep '#sanity|#unit'",
"test:coverage": "nyc npm run test",
"coveralls": "npm run test:coverage && nyc report --reporter=text-lcov | coveralls"
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/MutterPedro/easy-api-doc.git"
},
"keywords": [
"docs",
"documentation",
"api",
"open-api",
"OpenAPI",
"swagger",
"rest",
"easy",
"generator",
"yaml",
"json"
],
"author": "MutterPedro",
"license": "MIT",
"bugs": {
"url": "https://github.com/MutterPedro/easy-api-doc/issues"
},
"homepage": "https://github.com/MutterPedro/easy-api-doc#readme",
"devDependencies": {
"@types/chai": "^4.2.22",
"@types/chai-as-promised": "^7.1.4",
"@types/express": "^4.17.13",
"@types/faker": "^5.5.9",
"@types/mocha": "^9.0.0",
"@types/node": "^16.11.4",
"@types/sinon": "^10.0.4",
"@types/sinon-chai": "^3.2.5",
"@types/superagent": "^4.1.13",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^5.1.0",
"@typescript-eslint/parser": "^5.1.0",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"commitizen": "^4.2.4",
"coveralls": "^3.1.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.1.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-mocha": "^9.0.0",
"eslint-plugin-prettier": "^4.0.0",
"express": "^4.17.1",
"faker": "^5.5.3",
"husky": "^7.0.4",
"lint-staged": "^11.2.3",
"mocha": "^9.1.3",
"nyc": "^15.1.0",
"prettier": "^2.4.1",
"sinon": "^11.1.2",
"sinon-chai": "^3.7.0",
"standard-version": "^9.3.2",
"supertest": "^6.1.6",
"ts-node": "^10.4.0",
"typescript": "^4.4.4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"npm run lint"
],
"*.{ts,md}": [
"prettier --check"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"nyc": {
"extension": [
".ts"
],
"reporter": [
"text",
"html"
],
"exclude": [
"test/**",
"node_modules/**/*",
"**/*.d.ts",
"dist/**/*",
"*.js",
"coverage/**/*",
"src/index.ts"
],
"all": true,
"cache": true,
"check-coverage": true,
"branches": 80,
"lines": 85,
"functions": 85,
"statements": 85,
"per-file": false
},
"dependencies": {
"yaml": "^1.10.2"
}
}