Initialize npm package

This commit is contained in:
Ivan 2025-05-30 21:38:13 +05:00
parent ce6eefe8d8
commit 6f32fc1071
Signed by: landlord
GPG key ID: 416A03BC4ADA4CD7
4 changed files with 2693 additions and 1 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
/redoc-static.html /redoc-static.html
/node_modules

View file

@ -5,6 +5,14 @@ Tekton API documentation in OpenAPI format.
## Getting started ## Getting started
Build static HTML page:
```sh ```sh
npx @redocly/cli build-docs openapi.yaml npm run build
```
Lint:
```sh
npm run lint
``` ```

2660
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

23
package.json Normal file
View file

@ -0,0 +1,23 @@
{
"name": "tekton-api",
"description": "Tekton API documentation in OpenAPI format",
"scripts": {
"build": "redocly build-docs openapi.yaml",
"lint": "redocly lint openapi.yaml"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tekton-labs/tekton-api.git"
},
"keywords": [
"openapi"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/tekton-labs/tekton-api/issues"
},
"homepage": "https://github.com/tekton-labs/tekton-api#readme",
"dependencies": {
"@redocly/cli": "^1.34.0"
}
}