From b82907012b626c03ca6078b3a716082287b72ee5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ba=CC=81lint=20Szekeres?= Date: Sun, 19 May 2019 21:22:12 +0200 Subject: [PATCH] build before test --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 7e96ffe..3b91c26 100644 --- a/package.json +++ b/package.json @@ -49,8 +49,8 @@ "autoprefixer": "postcss public/assets/css/app.min.css --use autoprefixer --no-map --replace --verbose", "lint": "eslint public/assets/js/app.js", "lint:fix": "npm run lint -- --fix", - "test": "npm run lint && start-server-and-test start http://localhost:8080 cypress:run", - "test:debug": "npm run lint && start-server-and-test start http://localhost:8080 cypress:open", + "test": "npm run lint && npm run build:prod && start-server-and-test start http://localhost:8080 cypress:run", + "test:debug": "npm run lint && npm run build && start-server-and-test start http://localhost:8080 cypress:open", "cypress:run": "cypress run", "cypress:open": "cypress open" }