-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
63 lines (63 loc) · 2.76 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"name": "engage-sphere",
"version": "1.0.0",
"description": "Sample project with basic 'backend' and frontend running Cypress tests on GitHub Actions.",
"scripts": {
"install:frontend": "cd frontend && npm install",
"install:backend": "cd backend && npm install",
"start:frontend": "cd frontend && npm start",
"start:server": "cd backend && npm start",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "npm run test:api:with:server && npm run test:frontend:component && npm run test:frontend:gui:with:servers",
"test:frontend:gui": "cypress run --spec cypress/e2e/gui/*.cy.js --record false",
"test:frontend:gui:cloud": "cypress run --record --tag 'GUI' --spec cypress/e2e/gui/*.cy.js",
"test:frontend:gui:with:servers": "start-server-and-test start:frontend 3000 start:server 3000 test:frontend:gui",
"test:api:prod:cloud": "cypress run --record --tag 'API-PROD' --spec cypress/e2e/api/*.cy.js --config baseUrl='https://engage-sphere.vercel.app'",
"test:frontend:gui:prod:cloud": "cypress run --record --tag 'GUI-PROD' --spec cypress/e2e/gui/*.cy.js --config baseUrl='https://engage-sphere.vercel.app'",
"test:frontend:component": "cypress run --component --record false",
"test:frontend:component:cloud": "cypress run --record --tag 'component' --component",
"test:api": "cypress run --spec cypress/e2e/api/*.cy.js --record false --config baseUrl='http://localhost:3001/customers'",
"test:api:cloud": "cypress run --record --tag 'API' --spec cypress/e2e/api/*.cy.js --config baseUrl='http://localhost:3001/customers'",
"test:api:with:server": "start-server-and-test start:server http://localhost:3001/customers test:api",
"cy:open": "cypress open",
"cy:open:with:servers": "start-server-and-test start:frontend 3000 start:server 3000 cy:open"
},
"repository": {
"type": "git",
"url": "git+https://github.com/wlsf82/EngageSphere.git"
},
"keywords": [
"Cypress.io",
"API testing",
"Frontend testing"
],
"author": "Walmyr Filho <[email protected]> (https://walmyr.dev)",
"license": "MIT",
"homepage": "https://github.com/wlsf82/EngageSphere/blob/main/README.md",
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"axe-core": "^4.10.2",
"cypress": "^13.17.0",
"cypress-axe": "^1.5.0",
"eslint": "^8.57.1",
"eslint-plugin-cypress": "^2.15.2",
"eslint-plugin-react": "^7.37.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-scripts": "^5.0.1",
"start-server-and-test": "^2.0.9"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}