Skip to content

Commit 9f6709a

Browse files
committed
chore: add task client:generate
1 parent 128840c commit 9f6709a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"format": "prettier --write --no-error-on-unmatched-pattern 'src/**/*.{ts,tsx,json,css,md}'",
1313
"docker:build": "docker build --tag wildcat-dashboard-ui .",
1414
"docker:rebuild": "npm run docker:build -- --no-cache",
15-
"docker:up": "docker compose up"
15+
"docker:up": "docker compose up",
16+
"client:generate": "npx @hey-api/openapi-ts --input opt/wildcat/openapi.json --output src/generated/client --client @hey-api/client-fetch"
1617
},
1718
"dependencies": {
1819
"@hey-api/client-fetch": "^0.8.1",

0 commit comments

Comments
 (0)