build before test

pull/103/head
Bálint Szekeres 2019-05-19 21:22:12 +02:00
parent fcee608ffc
commit b82907012b
1 changed files with 2 additions and 2 deletions

View File

@ -49,8 +49,8 @@
"autoprefixer": "postcss public/assets/css/app.min.css --use autoprefixer --no-map --replace --verbose", "autoprefixer": "postcss public/assets/css/app.min.css --use autoprefixer --no-map --replace --verbose",
"lint": "eslint public/assets/js/app.js", "lint": "eslint public/assets/js/app.js",
"lint:fix": "npm run lint -- --fix", "lint:fix": "npm run lint -- --fix",
"test": "npm run lint && start-server-and-test start http://localhost:8080 cypress:run", "test": "npm run lint && npm run build:prod && 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:debug": "npm run lint && npm run build && start-server-and-test start http://localhost:8080 cypress:open",
"cypress:run": "cypress run", "cypress:run": "cypress run",
"cypress:open": "cypress open" "cypress:open": "cypress open"
} }