From 74fd48e32e4b6e7de0dcb43cf10e87f316ff63c8 Mon Sep 17 00:00:00 2001 From: Bobo Date: Wed, 8 May 2024 09:36:09 +0200 Subject: [PATCH] Autogenerate Swagger documentation on build (#150) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4b8907e..6450059 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "scripts": { "serve:firebase": "yarn build && firebase emulators:start --only functions", "shell:firebase": "yarn build && firebase functions:shell", - "build": "tsc --project tsconfig.json", + "build": "tsc --project tsconfig.json && yarn swagger-autogen api.astar.network", "dev": "yarn swagger-autogen && ts-node-dev -r dotenv/config src/index.ts", "build:swagger": "yarn swagger-autogen api.astar.network", "lint": "eslint '*/**/*.{js,ts}' --quiet --fix && prettier -w .",