mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
This * removes unnecessary backend server on :4001 (there is already one running at :4000) * allows to run `yarn run cypress:setup` independent of backend servers
29 lines
956 B
JSON
29 lines
956 B
JSON
{
|
|
"name": "nitro-cypress",
|
|
"version": "1.0.0",
|
|
"description": "Fullstack tests with cypress for Human Connection",
|
|
"author": "Human Connection gGmbh",
|
|
"license": "MIT",
|
|
"cypress-cucumber-preprocessor": {
|
|
"nonGlobalStepDefinitions": true
|
|
},
|
|
"scripts": {
|
|
"cypress:backend:server": "cd backend && yarn run test:before:server",
|
|
"cypress:backend:seeder": "cd backend && yarn run test:before:seeder",
|
|
"cypress:webapp": "cd webapp && cross-env GRAPHQL_URI=http://localhost:4123 yarn run dev",
|
|
"cypress:setup": "run-p cypress:backend:* cypress:webapp",
|
|
"cypress:run": "cypress run --browser chrome",
|
|
"cypress:open": "cypress open --browser chrome"
|
|
},
|
|
"devDependencies": {
|
|
"cross-env": "^5.2.0",
|
|
"cypress": "^3.2.0",
|
|
"cypress-cucumber-preprocessor": "^1.11.0",
|
|
"dotenv": "^7.0.0",
|
|
"faker": "^4.1.0",
|
|
"graphql-request": "^1.8.2",
|
|
"neo4j-driver": "^1.7.3",
|
|
"npm-run-all": "^4.1.5"
|
|
}
|
|
}
|