refactor: Cypress CLI args to config file (#40268)

This commit is contained in:
Twaha Rahman
2020-11-20 16:39:34 +06:00
committed by GitHub
parent bce3d5b372
commit a6c49543d5
2 changed files with 6 additions and 5 deletions

View File

@ -1,3 +1,4 @@
{
"projectId": "ke77ns"
"projectId": "ke77ns",
"baseUrl": "http://localhost:8000"
}

View File

@ -19,10 +19,10 @@
"precypress": "node ./cypress-install.js",
"cypress": "cypress",
"cypress:install": "cypress install && echo 'for use with ./cypress-install.js'",
"cypress:dev:run": "npm run cypress -- run --config baseUrl=http://localhost:8000",
"cypress:dev:watch": "npm run cypress -- open --config baseUrl=http://localhost:8000",
"cypress:prd:run": "npm run cypress -- run --config baseUrl=http://localhost:8000",
"cypress:prd:watch": "npm run cypress -- open --config baseUrl=http://localhost:8000",
"cypress:dev:run": "npm run cypress -- run",
"cypress:dev:watch": "npm run cypress -- open",
"cypress:prd:run": "npm run cypress -- run",
"cypress:prd:watch": "npm run cypress -- open",
"develop": "npm-run-all ensure-env -p develop:*",
"develop:client": "cd ./client && npm run develop",
"develop:server": "cd ./api-server && npm run develop",