From d638a328d8e5ef0d0576582cd96a8da2917b7c63 Mon Sep 17 00:00:00 2001 From: mikiher Date: Mon, 15 Apr 2024 23:58:13 +0300 Subject: [PATCH] Add cypress npm scripts --- client/package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/package.json b/client/package.json index 6597fc60..fa15318f 100644 --- a/client/package.json +++ b/client/package.json @@ -9,7 +9,10 @@ "dev2": "nuxt --hostname localhost --port 1337", "build": "nuxt build", "start": "nuxt start", - "generate": "nuxt generate" + "generate": "nuxt generate", + "test": "npm run compile-tailwind && cypress run --component --browser chrome", + "test-visually": "npm run compile-tailwind && cypress open --component --browser chrome", + "compile-tailwind": "tailwindcss -i ./assets/tailwind.css -o ./cypress/support/tailwind.compiled.css" }, "author": "advplyr", "license": "ISC",