From 634e1736837b50a190f42c2fc741b262e88bf3ac Mon Sep 17 00:00:00 2001 From: Connor Boyle Date: Fri, 29 Oct 2021 16:15:12 -0700 Subject: [PATCH] Add release-it (#40) * Add Release-It to NPM Scripts * Add Release-It to DevDependencies --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index f1d9a2a..140f576 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "devDependencies": { - "@openapitools/openapi-generator-cli": "2.3.5" + "@openapitools/openapi-generator-cli": "2.3.5", + "release-it": "^14.10.0" }, "scripts": { "generate:server": "openapi-generator-cli generate -g python-flask -o server -i $npm_config_openapi", @@ -10,6 +11,7 @@ "lint": "cd server && flake8", "test": "cd server && tox", "install:dependencies": "npm ci && cd server && pip install -r requirements.txt", + "release": "release-it", "start:dev": "cd server && python -m openapi_server", "start:prod": "docker compose up --build" }