-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
47 lines (47 loc) · 1.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
{
"name": "mdclub-openapi",
"description": "MDClub 的 OpenAPI 描述文件",
"version": "1.0.2",
"homepage": "https://www.mdclub.org/api",
"author": "zdhxiong",
"repository": {
"type": "git",
"url": "https://github.com/zdhxiong/mdclub-openapi"
},
"scripts": {
"build": "node index.js",
"validate": "npm run build && spectral lint -s=operation-operationId-unique dist/openapi.yaml",
"mock": "npm run build && prism mock dist/openapi.yaml",
"build-php-sdk": "npm run build && npx openapi-generator-cli generate -i dist/openapi.yaml -g php -o dist/php --skip-validate-spec",
"build-android-sdk": "npm run build && npx openapi-generator-cli generate -i dist/openapi.yaml -g android -o dist/android --skip-validate-spec",
"build-dart-sdk": "npm run build && npx openapi-generator-cli generate -i dist/openapi.yaml -g dart -o dist/dart --skip-validate-spec",
"build-objc-sdk": "npm run build && npx openapi-generator-cli generate -i dist/openapi.yaml -g objc -o dist/objc --skip-validate-spec",
"build-swift4-sdk": "npm run build && npx openapi-generator-cli generate -i dist/openapi.yaml -g swift4 -o dist/swift4 --skip-validate-spec",
"build-aurelia-sdk": "npm run build && npx openapi-generator-cli generate -i dist/openapi.yaml -g typescript-aurelia --additional-properties=modelPropertyNaming=original -o dist/aurelia --skip-validate-spec"
},
"files": [
"dist/openapi.json",
"dist/openapi.yaml",
"src",
"LICENSE",
"package.json",
"README.md"
],
"bugs": {
"url": "https://github.com/zdhxiong/mdclub-openapi/issues",
"email": "zdhxiong@gmail.com"
},
"license": "MIT",
"dependencies": {},
"devDependencies": {
"@openapitools/openapi-generator-cli": "^2.4.4",
"@stoplight/prism-cli": "^4.4.0",
"@stoplight/spectral": "^5.9.2",
"js-yaml": "^4.1.0",
"json-refs": "^3.0.15"
},
"engines": {
"node": ">=12",
"npm": ">=6"
}
}