From 817b19001441dd5139b43133d8c5e7fdb47aedf5 Mon Sep 17 00:00:00 2001 From: John Labbate Date: Thu, 25 Jan 2024 15:11:22 -0500 Subject: [PATCH] Commited the wrong package.json. --- package.json | 2 +- training-front-end/package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 65010631..77bb691a 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "scripts": { "build:frontend": "cd training-front-end && npm install && npm run build && cd ..", "federalist": "npm run build:frontend", - "dev": "(npm run dev:frontend & npm run dev:backend)", + "dev": "(trap 'kill 0' SIGINT; npm run dev:frontend & npm run dev:backend)", "dev:frontend": "cd training-front-end && npm run dev", "dev:backend": "uvicorn training.main:app --reload", "dev:db-start": "docker-compose up -d", diff --git a/training-front-end/package.json b/training-front-end/package.json index 73bf41cf..5d71095b 100644 --- a/training-front-end/package.json +++ b/training-front-end/package.json @@ -5,7 +5,7 @@ "scripts": { "dev": "astro dev", "start": "astro dev", - "build": "./bin/build.sh", + "build": "/bin/build.sh", "preview": "astro preview", "astro": "astro", "test:unit": "vitest --environment jsdom --root .", @@ -53,7 +53,7 @@ "jsdom": "^21.1.1", "pa11y-ci": "^3.0.1", "start-server-and-test": "^2.0.0", - "vitest": "^1.2.1" + "vitest": "^0.30.1" }, "overrides": { "glob-parent": "^5.1.2"