mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-09-22 20:09:27 +08:00
build before test
This commit is contained in:
@@ -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"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user