-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
75 lines (75 loc) · 2.93 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
64
65
66
67
68
69
70
71
72
73
74
75
{
"name": "gap-automated-tests",
"version": "1.0.0",
"description": "Automated test repo for Find a Grant service",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"cy:open:watch": "HEADFUL_MODE=true cypress open --config watchForFileChanges=true",
"cy:open:nowatch": "HEADFUL_MODE=true cypress open --config watchForFileChanges=false",
"cy:open": "HEADFUL_MODE=true cypress open --config watchForFileChanges=false --e2e --browser chrome",
"cy:run:all": "cypress run",
"cy:run:find": "cypress run --spec \"cypress/e2e/find/*.cy.js\"",
"cy:run:apply": "cypress run --spec \"cypress/e2e/applicant/*.cy.js\"",
"cy:run:admin": "cypress run --spec \"cypress/e2e/admin/*.cy.js\"",
"cy:run:superadmin": "cypress run --spec \"cypress/e2e/superadmin/*.cy.js\"",
"cy:run:apidashboard": "cypress run --spec \"cypress/e2e/api-dashboard/*.cy.js\"",
"cy:run:flake": "COUNTER=1; while npx cypress run --spec $npm_config_spec; do echo \"Test retry count: $COUNTER\"; COUNTER=$((COUNTER + 1)); done; echo \"Tests ran until failure: $COUNTER\"",
"lint": "npx eslint --ext .js,.ts ./",
"lint:fix": "npx eslint --ext .js,.ts ./ --fix",
"prettier:write": "npx prettier . --write",
"prettier:check": "npx prettier . --check",
"prepare": "husky install",
"clean": "rm -rf node_modules package-lock.json",
"clean:install": "npm run clean && npm install",
"env:switch": "node envSwitch.js",
"subs": "node getSubs.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cabinetoffice/gap-automated-tests.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/cabinetoffice/gap-automated-tests/issues"
},
"homepage": "https://github.com/cabinetoffice/gap-automated-tests#readme",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^6.7.2",
"cypress": "^13.7.1",
"cypress-mochawesome-reporter": "^3.6.0",
"dotenv": "^16.3.1",
"eslint": "^8.49.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard-with-typescript": "^39.0.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-n": "^16.1.0",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-promise": "^6.1.1",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"mochawesome": "^7.1.3",
"prettier": "3.0.3",
"typescript": "^5.2.2"
},
"lint-staged": {
"**/*.js": "eslint --ext .js,.ts ./ --fix",
"**/*.ts": "eslint --ext .js,.ts ./ --fix"
},
"dependencies": {
"@aws-sdk/client-api-gateway": "^3.490.0",
"@aws-sdk/client-sqs": "^3.533.0",
"@percy/cypress": "^3.1.2",
"contentful-management": "^10.46.2",
"cypress-axe": "^1.5.0",
"cypress-file-upload": "^5.0.8",
"dayjs": "^1.11.10",
"decompress": "^4.2.1",
"dotenv": "^16.3.1",
"fs": "^0.0.1-security",
"node-xlsx": "^0.23.0",
"pg": "^8.11.3"
}
}