mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
Ok, so here is the plan. Let's give both our cucumber features and your cypress tests a prominent place to live. That would be the root level folder of our application. Second, let's revive formerly dead code step by step. Ie. move code from the former location `backend/features/` to `features/` when it is ready. All edge cases should be tested with unit tests in `backend/`, see my `webfinger.spec.js` as an example.
50 lines
1.6 KiB
JSON
50 lines
1.6 KiB
JSON
{
|
|
"name": "human-connection",
|
|
"version": "0.1.11",
|
|
"description": "Fullstack and API tests with cypress and cucumber for Human Connection",
|
|
"author": "Human Connection gGmbh",
|
|
"license": "MIT",
|
|
"cypress-cucumber-preprocessor": {
|
|
"nonGlobalStepDefinitions": true
|
|
},
|
|
"scripts": {
|
|
"install:all": "yarn install && cd backend && yarn install && cd ../webapp && yarn install",
|
|
"db:seed": "cd backend && yarn run db:seed",
|
|
"db:reset": "cd backend && yarn run db:reset",
|
|
"cypress:backend": "cd backend && yarn run dev",
|
|
"cypress:webapp": "cd webapp && yarn run dev",
|
|
"cypress:setup": "run-p cypress:backend cypress:webapp",
|
|
"cypress:run": "cross-env cypress run --browser chromium",
|
|
"cypress:open": "cross-env cypress open --browser chromium",
|
|
"cucumber:setup": "cd backend && yarn run dev",
|
|
"cucumber": "wait-on tcp:4000 && cucumber-js --require-module @babel/register --exit",
|
|
"version": "auto-changelog -p"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.7.2",
|
|
"@babel/preset-env": "^7.7.4",
|
|
"@babel/register": "^7.7.4",
|
|
"auto-changelog": "^1.16.2",
|
|
"bcryptjs": "^2.4.3",
|
|
"codecov": "^3.6.1",
|
|
"cross-env": "^6.0.3",
|
|
"cucumber": "^6.0.5",
|
|
"cypress": "^3.7.0",
|
|
"cypress-cucumber-preprocessor": "^1.17.0",
|
|
"cypress-file-upload": "^3.5.0",
|
|
"cypress-plugin-retries": "^1.5.0",
|
|
"date-fns": "^2.8.1",
|
|
"dotenv": "^8.2.0",
|
|
"expect": "^24.9.0",
|
|
"faker": "Marak/faker.js#master",
|
|
"graphql-request": "^1.8.2",
|
|
"neo4j-driver": "^1.7.6",
|
|
"neode": "^0.3.6",
|
|
"npm-run-all": "^4.1.5",
|
|
"slug": "^1.1.0"
|
|
},
|
|
"resolutions": {
|
|
"set-value": "^2.0.1"
|
|
}
|
|
}
|