Skip to content
Snippets Groups Projects
Commit 26be0244 authored by Lars Mikkel Lødeng Nilsen's avatar Lars Mikkel Lødeng Nilsen
Browse files

Modifyed preview command in package.json

parent 4d004b68
No related branches found
No related tags found
3 merge requests!66Final merge,!4Pipeline fix,!3Pipeline fix
Pipeline #272506 failed
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"build": "run-p type-check \"build-only {@}\" --", "build": "run-p type-check \"build-only {@}\" --",
"preview": "vite preview --host", "preview": "vite preview --host 0.0.0.0",
"test:unit": "vitest", "test:unit": "vitest",
"test:e2e": "start-server-and-test preview http://localhost:4173 'cypress run --e2e'", "test:e2e": "start-server-and-test preview http://localhost:4173 'cypress run --e2e'",
"test:e2e:dev": "start-server-and-test 'vite dev --port 4173' http://localhost:4173 'cypress run --e2e'", "test:e2e:dev": "start-server-and-test 'vite dev --port 4173' http://localhost:4173 'cypress run --e2e'",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment