Skip to content

Commit

Permalink
Merge pull request #1 from plugoinc/feature/generators
Browse files Browse the repository at this point in the history
feat: add d ts generate script
  • Loading branch information
Ko1103 authored Aug 4, 2023
2 parents e290083 + 51d9034 commit 24fd11f
Show file tree
Hide file tree
Showing 2 changed files with 205 additions and 1 deletion.
198 changes: 198 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@
"private": true,
"scripts": {
"start": "openapi preview-docs",
"build": "openapi bundle -o dist",
"build": "npm run clean && npm run build:yaml && npm run build:dts",
"build:yaml": "openapi bundle -o dist/yaml/dist.yaml",
"build:dts": "openapi-typescript dist/yaml/dist.yaml -o dist/dts/schema.d.ts",
"clean": "rm -rf dist || true",
"test": "openapi lint"
},
"devDependencies": {
"openapi-typescript": "^6.4.0"
}
}

0 comments on commit 24fd11f

Please sign in to comment.