generated from NHSDigital/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
121 lines (121 loc) · 4.62 KB
/
package.json
File metadata and controls
121 lines (121 loc) · 4.62 KB
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "vaccinations-app",
"version": "1.0.0",
"packageManager": "npm@10.9.2",
"description": "Vaccinations in the app",
"type": "module",
"directories": {
"doc": "docs",
"test": "tests"
},
"browserslist": [
"> 0.1% in GB and not dead",
"last 6 Chrome versions",
"last 6 Firefox versions",
"last 6 Edge versions",
"last 2 Samsung versions",
"Firefox ESR",
"Safari >= 11",
"iOS >= 11"
],
"scripts": {
"dev": "next dev --turbopack --experimental-https",
"build": "next build && npm run build:assets && npm run test:app:routes",
"test:app:routes": "jest src/app-routes.test.ts --testPathIgnorePatterns '[]'",
"build:assets": "sass 'src/styles/global.scss' 'public/assets/static/global.min.css' --silence-deprecation=import,global-builtin,if-function,legacy-js-api --style=compressed --no-source-map --load-path=node_modules",
"build:opennext": "npx --yes @opennextjs/aws@3.x.x build --streaming",
"build:lambda": "node esbuild.config.mjs",
"clean": "rm -rf .next .open-next dist lambda.zip public/assets/static/*.min.css",
"start": "next start",
"lint": "eslint .",
"format": "npx prettier . --write",
"check": "npx prettier . --check",
"test": "tsc --noEmit && jest --collectCoverage",
"test:watch": "jest --watch",
"e2e": "SUITE=e2e npx playwright test e2e/general/",
"e2e:ui": "SUITE=e2e npx playwright test e2e/general/ --ui",
"e2e:nbs": "SUITE=nbs RUN_NBS_TESTS=true npx playwright test e2e/general/nbs.spec.ts",
"e2e:nbs:ui": "SUITE=nbs RUN_NBS_TESTS=true npx playwright test e2e/general/nbs.spec.ts --ui",
"e2e:snapshot": "SUITE=snapshot CURRENT_DATETIME=${CURRENT_DATETIME:-$(date -u +'%Y-%m-%dT%H%M%SZ')} CHECKOUT_REF=${CHECKOUT_REF:-'local'} npx playwright test e2e/snapshot/",
"e2e:snapshot-update": "SUITE=snapshot CURRENT_DATETIME=${CURRENT_DATETIME:-$(date -u +'%Y-%m-%dT%H%M%SZ')} CHECKOUT_REF=${CHECKOUT_REF:-'local'} npx playwright test e2e/snapshot/ --update-snapshots",
"contract": "jest --config=contract/contract.jest.config.ts",
"elid": "wiremock --root-dir ./wiremock --port 8081 --no-request-journal --local-response-templating",
"local-build-package": "npm run build:opennext && npm run local-build-package:hydrator",
"local-build-package:hydrator": "npm run build:lambda && zip -j -r lambda.zip dist/",
"validate-campaign-configs": "jest ./src/utils/campaigns/campaign-config-validate-all.test.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/NHSDigital/vaccinations-app.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/NHSDigital/vaccinations-app/issues"
},
"homepage": "https://github.com/NHSDigital/vaccinations-app#readme",
"devDependencies": {
"@axe-core/playwright": "^4.11.0",
"@eslint/eslintrc": "^3.3.5",
"@estruyf/github-actions-reporter": "^1.10.0",
"@pact-foundation/pact": "^16.2.0",
"@playwright/test": "^1.58.2",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
"@types/hast": "^3.0.4",
"@types/jest": "^30.0.0",
"@types/jsonwebtoken": "^9.0.10",
"@types/node": "^25.3.5",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"es-check": "^9.6.2",
"esbuild": "0.27.3",
"eslint": "^9.39.4",
"eslint-config-next": "15.5.12",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-compat": "^7.0.1",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
"jest-pact": "^0.13.0",
"prettier": "^3.8.1",
"sass": "^1.97.3",
"ts-jest": "^29.4.6",
"ts-node": "^10.9.2",
"typescript": "^5.9.3",
"wiremock": "^3.13.2"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.1004.0",
"@aws-sdk/signature-v4-crt": "^3.1004.0",
"@opennextjs/aws": "^3.9.8",
"@types/aws-lambda": "^8.10.161",
"axios": "^1.13.6",
"cheerio": "^1.2.0",
"date-fns": "^4.1.0",
"dotenv": "^17.3.1",
"es-toolkit": "^1.45.1",
"isomorphic-dompurify": "^3.0.0",
"jsonwebtoken": "^9.0.3",
"jwt-decode": "^4.0.0",
"next": "^15.5.10",
"next-auth": "^5.0.0-beta.30",
"nhsapp-frontend": "^5.0.3",
"nhsuk-frontend": "^10.3.1",
"nhsuk-react-components": "^6.0.0-beta.5",
"openid-client": "^6.8.2",
"pino": "^10.3.1",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"react-error-boundary": "^6.1.1",
"react-markdown": "^10.1.0",
"sanitize-data": "^1.0.5",
"zod": "^4.3.6"
},
"overrides": {
"jsdom": "^26.0.0",
"glob": "^11.1.0",
"fast-xml-parser": "^5.3.6"
}
}