-
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.92 KB
/
package.json
File metadata and controls
121 lines (121 loc) · 4.92 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": "provide-service",
"version": "1.0.0",
"description": "",
"main": "index.js",
"type": "module",
"scripts": {
"prepare": "husky",
"dev": "docker compose -f docker-compose-real-backend-minus-frontend.yml up -d && npm run start:local",
"start": "node --import ./src/serverSetup/sentry.js index.js",
"start:watch": "concurrently \"nodemon --exec 'npm run build && npm run start'\" \"npm run scss:watch\"",
"start:test": "NODE_ENV=test node --import ./src/serverSetup/sentry.js index.js",
"start:local": "NODE_ENV=local node --import ./src/serverSetup/sentry.js index.js",
"start:wiremock": "docker compose up -d --force-recreate --build && NODE_ENV=wiremock node --import ./src/serverSetup/sentry.js index.js",
"start:development": "NODE_ENV=development node --import ./src/serverSetup/sentry.js index.js",
"start:local:watch": "NODE_ENV=test npm run start:watch",
"docker-security-scan": "mkdir -p zap-working-dir && touch zap-working-dir/zap.log && chmod -R a+rw zap-working-dir && docker compose -f docker-compose.security.yml run --rm zap",
"static-security-scan": "npm audit --json | tee npm-audit-report.json | npm-audit-markdown --output npm-audit-report.md || true",
"scan:zap": "npm run docker-security-scan",
"mock:api": "node ./test/mock-api/index.js",
"copy-frontend-bundles": "cp ./node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js ./node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js.map public/js/",
"build": "npm run scss && cp -R src/assets/downloadable/. public/downloadable && npm run build-webpack && cp -R src/assets/static/. public/static && npm run copy-frontend-bundles",
"build-webpack": "webpack",
"serve-webpack": "webpack serve",
"scss": "sass --quiet-deps --load-path=./ src/assets/scss:public/stylesheets",
"scss:watch": "sass --quiet-deps --load-path=./ --watch src/assets/scss:public/stylesheets",
"test": "npm run test:unit && npm run test:integration",
"test:unit": "vitest run test/unit",
"test:unit:coverage": "vitest run test/unit --coverage.enabled true",
"test:watch": "vitest test/unit test/integration test/contract",
"test:coverage": "vitest test/unit test/integration test/contract --coverage",
"test:integration": "NODE_ENV=test playwright test --config ./test/integration/playwright.config.js",
"test:acceptance": "NODE_ENV=development playwright test --config ./test/acceptance/playwright.config.js",
"test:acceptance:ci": "NODE_ENV=ci playwright test --config ./test/acceptance/playwright.config.js",
"test:acceptance:local": "NODE_ENV=local playwright test --config ./test/acceptance/playwright.config.js --ui",
"playwright-codegen": "playwright codegen http://localhost:5000",
"lint": "standard",
"lint:fix": "standard --fix",
"generate:docs": "jsdoc -c jsdoc.json -u ./docs"
},
"engines": {
"node": ">=22.5.1"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@gcornut/valibot-json-schema": "^0.42.0",
"@playwright/test": "^1.39.0",
"@testcontainers/localstack": "^10.7.2",
"@types/node": "^20.8.9",
"@vitest/coverage-v8": "^2.1.2",
"@wiremock/wiremock-testcontainers-node": "^0.0.1",
"concurrently": "^8.2.2",
"esbuild": "^0.27.3",
"husky": "^9.0.11",
"jsdoc": "^4.0.4",
"jsdoc-tsimport-plugin": "^1.0.5",
"jsdom": "^24.1.0",
"json-schema-faker": "^0.5.6",
"nodemon": "^3.0.1",
"npm-audit-markdown": "^1.2.0",
"pluralize": "^8.0.0",
"standard": "^17.1.0",
"supertest": "^7.0.0",
"vite": "^5.3.3",
"vitest": "^2.0.4",
"webpack": "^5.90.3",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.2",
"zaproxy": "^2.0.0-rc.5"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.537.0",
"@sentry/node": "^10.47.0",
"@sentry/profiling-node": "^10.47.0",
"@x-govuk/govuk-prototype-components": "^3.0.5",
"@x-govuk/govuk-prototype-filters": "^1.4.3",
"accessible-autocomplete": "^3.0.0",
"aws-sdk": "^2.1581.0",
"axios": "^1.6.2",
"body-parser": "^1.20.2",
"connect-redis": "^7.1.1",
"cookie-parser": "^1.4.6",
"csv-parser": "^3.0.0",
"csv-stringify": "^6.5.2",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"express-session": "^1.18.0",
"govuk-frontend": "^5.11.1",
"hmpo-config": "^3.0.0",
"hmpo-form-wizard": "^13.0.0",
"hmpo-i18n": "^6.0.1",
"js-yaml": "^4.1.0",
"lodash": "^4.17.21",
"maplibre-gl": "^4.1.0",
"multer": "^1.4.5-lts.1",
"notifications-node-client": "^8.2.0",
"nunjucks": "^3.2.4",
"redis": "^4.6.13",
"sass": "^1.69.4",
"uuid": "^9.0.1",
"valibot": "^0.36.0",
"wellknown": "^0.5.0",
"winston": "^3.11.0"
},
"nodemonConfig": {
"ignore": [
"**/test/**",
"**/docs/**",
"**/public/**"
],
"ext": "html js css"
},
"standard": {
"ignore": [
"performance-test/",
"src/views/common/smartlook.js",
"docs"
]
}
}