Updated package.json with scripts and created a dist dir for build files

This commit is contained in:
Martin Berg Alstad
2024-06-16 00:59:34 +02:00
parent 9431eb2fa9
commit ee4523207b
4 changed files with 391 additions and 35 deletions

View File

@ -2,9 +2,14 @@
"name": "main",
"version": "0.1.0",
"type": "module",
"author": "Martin Berg Alstad",
"scripts": {
"tsp-compile": "tsp compile . --output-dir dist",
"redoc-build": "redocly build-docs dist/@typespec/openapi3/openapi.v2.yaml --output dist/index.html"
},
"dependencies": {
"@typespec/compiler": "latest",
"@typespec/openapi3": "^0.56.0"
"@typespec/openapi3": "^0.57.0"
},
"private": true
}