generated from NHSDigital/nhs-notify-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
134 lines (134 loc) · 5.37 KB
/
package.json
File metadata and controls
134 lines (134 loc) · 5.37 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
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"devDependencies": {
"@aws-sdk/client-api-gateway": "^3.906.0",
"@aws-sdk/client-kinesis": "^3.939.0",
"@aws-sdk/client-s3": "^3.925.0",
"@aws-sdk/client-sns": "^3.936.0",
"@openapitools/openapi-generator-cli": "^2.21.4",
"@redocly/cli": "1.31.0",
"@stoplight/spectral-cli": "^6.15.0",
"@stylistic/eslint-plugin": "^5.9.0",
"@tsconfig/node22": "^22.0.2",
"@types/aws-lambda": "^8.10.148",
"@types/jest": "^30.0.0",
"@types/node": "^25.2.2",
"@typescript-eslint/eslint-plugin": "^8.46.2",
"@typescript-eslint/parser": "^8.27.0",
"@playwright/test": "^1.57.0",
"ajv": "^8.17.1",
"allure-commandline": "^2.34.1",
"allure-playwright": "^3.4.3",
"aws-lambda": "1.0.6",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"esbuild": "0.27.2",
"eslint": "^9.27.0",
"eslint-config-airbnb-extended": "^3.0.1",
"eslint-config-next": "^15.3.2",
"eslint-config-prettier": "^10.1.5",
"eslint-import-resolver-typescript": "^4.4.2",
"eslint-plugin-html": "^8.1.3",
"eslint-plugin-import": "^2.17.2",
"eslint-plugin-import-x": "^4.13.3",
"eslint-plugin-jest": "^29.0.1",
"eslint-plugin-json": "^4.0.1",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-no-relative-import-paths": "^1.6.1",
"eslint-plugin-prettier": "^5.4.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-security": "^3.0.1",
"eslint-plugin-sonarjs": "^3.0.2",
"eslint-plugin-sort-destructure-keys": "^2.0.0",
"eslint-plugin-unicorn": "^62.0.0",
"get-east-asian-width": "^1.4.0",
"glob": "^11.0.0",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.0.4",
"jest-html-reporter": "^4.3.0",
"jest-mock-extended": "^4.0.0",
"js-yaml": "^4.1.0",
"lcov-result-merger": "^5.0.1",
"mocha": "^11.7.1",
"openapi-response-validator": "^12.1.3",
"openapi-typescript": "^7.8.0",
"serve": "^14.2.4",
"testcontainers": "^11.4.0",
"ts-jest": "^29.4.0",
"ts-node": "^10.9.2",
"tsx": "^4.20.6",
"typescript": "^5.9.3",
"typescript-eslint": "^8.27.0",
"yaml": "^2.6.1",
"zod": "^4.1.11"
},
"name": "nhs-notify-supplier-api",
"overrides": {
"axios": "^1.13.5",
"fast-xml-parser": "^5.3.6",
"@isaacs/brace-expansion": "^5.0.1",
"pretty-format": {
"react-is": "19.0.0"
},
"react": "^19.0.0",
"@stoplight/spectral-cli": {
"@stoplight/spectral-ruleset-bundler": {
"rollup": "^2.80.0"
},
"@stoplight/spectral-core": {
"minimatch": "^3.1.5"
}
},
"eslint-plugin-sonarjs": {
"minimatch": "^10.2.4"
},
"openapi-typescript": {
"@redocly/openapi-core": {
"minimatch": "^5.1.9"
}
},
"serve": {
"serve-handler": {
"minimatch": "^3.1.5"
}
},
"mocha": {
"serialize-javascript": "^7.0.3"
}
},
"scripts": {
"build": "npm run bundle-oas && npm run generate --buildver=$npm_config_buildver",
"bundle-oas": "cp -r sandbox/data/examples/. specification/api/components/examples && mkdir -p build && redocly bundle specification/api/notify-supplier-phase1.yml --dereferenced -k --remove-unused-components --ext yml > build/notify-supplier.yml",
"generate": "npm run generate:cs --buildver=$npm_config_buildver && npm run generate:html && npm run generate:ts --buildver=$npm_config_buildver && npm run generate:python",
"generate-dependencies": "npm run generate-dependencies --workspaces --if-present",
"generate-sandbox": "openapi-generator-cli generate -g nodejs-express-server -i build/notify-supplier.json -o sandbox-staging",
"generate:cs": "./sdk/generate-cs.sh $npm_config_buildver",
"generate:cs-server": "./server/generate-cs-server.sh $npm_config_buildver",
"generate:html": "docker run --rm --user $(id -u) -v ${PWD}:/local openapitools/openapi-generator-cli generate -i /local/build/notify-supplier.yml -g html -o /local/sdk/html --skip-validate-spec",
"generate:python": "docker run --rm --user $(id -u) -v ${PWD}:/local openapitools/openapi-generator-cli generate -i /local/build/notify-supplier.yml -g python -o /local/sdk/python --skip-validate-spec",
"generate:ts": "./sdk/generate-ts.sh $npm_config_buildver",
"lint": "npm run lint --workspaces",
"lint-oas": "redocly lint specification/api/notify-supplier-phase1.yml",
"lint:fix": "npm run lint:fix --workspaces",
"publish-oas": "mkdir -p build && redocly bundle specification/api/notify-supplier-phase1.yml --dereferenced -k --remove-unused-components --ext json > build/notify-supplier.json",
"serve": "npm run serve-html-docs",
"serve-html-docs": "npx serve sdk/html -p 3050",
"serve-oas": "redocly preview -p 5001 -d specification/api",
"serve-swagger-docs": "npx serve sdk/swagger -p 3051",
"start": "npm run start --workspace frontend",
"test:unit": "npm run test:unit --workspaces",
"typecheck": "npm run typecheck --workspaces",
"deps:sync": "npx syncpack fix-mismatches",
"deps:check": "npx syncpack list-mismatches",
"clean": "find . -type d -name 'node_modules' -prune -exec rm -rf '{}' + && rm package-lock.json",
"clean_install": "find . -type d -name 'node_modules' -prune -exec rm -rf '{}' + && rm package-lock.json && npm install"
},
"workspaces": [
"docs",
"internal/*",
"lambdas/*",
"pact-contracts",
"scripts/utilities/*",
"tests",
"tests/contracts/*"
]
}