Add cypress npm scripts

This commit is contained in:
mikiher 2024-04-15 23:58:13 +03:00
parent f597798839
commit d638a328d8

View File

@ -9,7 +9,10 @@
"dev2": "nuxt --hostname localhost --port 1337", "dev2": "nuxt --hostname localhost --port 1337",
"build": "nuxt build", "build": "nuxt build",
"start": "nuxt start", "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", "author": "advplyr",
"license": "ISC", "license": "ISC",