-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
34 lines (34 loc) · 950 Bytes
/
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
{
"name": "openapi-generator-typescript-compare",
"description": "",
"scripts": {
"prepare": "husky install",
"format:check": "prettier --check '**/*.yaml'",
"format:fix": "prettier --write '**/*.yaml'",
"lint": "spectral lint -v openapi.yaml",
"clean": "rimraf dist",
"pregenerate": "npm run clean",
"generate": "sh ./openapi-generate.sh",
"watch": "chokidar 'openapi.yaml' -c 'npm run generate'",
"mock": "prism mock openapi.yaml"
},
"lint-staged": {
"*.yaml": [
"npm run format:fix",
"npm run lint",
"npm run generate"
]
},
"author": "Kotaro Sugawara <[email protected]>",
"license": "MIT",
"devDependencies": {
"@stoplight/prism-cli": "^4.1.2",
"@stoplight/spectral": "^5.9.0",
"chokidar-cli": "^2.1.0",
"husky": "^6.0.0",
"lint-staged": "^10.5.4",
"openapi-typescript": "^4.0.0",
"prettier": "^2.2.1",
"rimraf": "^3.0.2"
}
}