-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
152 lines (152 loc) · 5.33 KB
/
package.json
File metadata and controls
152 lines (152 loc) · 5.33 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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
{
"name": "epr-frontend",
"version": "0.0.0",
"description": "CDP Frontend Template",
"sideEffects": false,
"main": "src/index.js",
"type": "module",
"imports": {
"#client/*": "./src/client/*",
"#config/*": "./src/config/*",
"#server/*": "./src/server/*",
"#utils/*": "./src/utils/*",
"#vite/*": "./.vite/*"
},
"engines": {
"node": "^24.10.0"
},
"scripts": {
"build": "run-s build:frontend build:server",
"build:frontend": "NODE_ENV=production webpack",
"build:server": "NODE_ENV=production babel --delete-dir-on-start --ignore \"**/*.test.js\" --ignore \"**/test-helpers\" --copy-files --no-copy-ignored --out-dir ./.server ./src",
"dc:all:up": "docker compose --profile all up --build --watch",
"dc:all:down": "docker compose --profile all down",
"dev": "AWS_EMF_ENVIRONMENT=Local run-p frontend:watch server:watch",
"dev:debug": "AWS_EMF_ENVIRONMENT=Local run-p frontend:watch server:debug",
"format": "prettier --write \"src/**/*.js\" \"**/*.{js,cjs,md,json,config.js,test.js}\"",
"format:check": "prettier --check \"src/**/*.js\" \"**/*.{js,cjs,md,json,config.js,test.js}\"",
"frontend:watch": "NODE_ENV=development webpack --watch",
"knip": "knip",
"knip:fix": "knip --fix",
"postinstall": "npm run setup:husky && npm run build",
"lint": "run-s lint:js lint:scss lint:types",
"lint:fix": "eslint . --fix",
"lint:js": "eslint . --max-warnings 0",
"lint:types": "tsc --build tsconfig.json",
"lint:scss": "stylelint \"src/**/*.scss\" --cache --cache-location .cache/stylelint --cache-strategy content --color --ignore-path .gitignore",
"postversion": "git add package.json package-lock.json && git commit -m $npm_package_version",
"test": "vitest run --coverage",
"test:watch": "vitest --coverage",
"test:ui": "vitest --ui --coverage",
"server:watch": "nodemon --inspect=0.0.0.0 --ext js,json --legacy-watch ./src",
"server:debug": "nodemon --inspect-brk=0.0.0.0 --ext js,json --legacy-watch ./src",
"prestart": "npm run build",
"start": "NODE_ENV=production node --use-strict .",
"setup:husky": "node -e \"try { (await import('husky')).default() } catch (e) { if (e.code !== 'ERR_MODULE_NOT_FOUND') throw e }\" --input-type module",
"i18n:extract": "node scripts/export-translations.js --out translations.xlsx",
"i18n:extract:dry": "npx i18next-cli extract --dry-run",
"i18n:status": "npx i18next-cli status"
},
"author": "Defra DDTS",
"license": "OGL-UK-3.0",
"dependencies": {
"@defra/cdp-auditing": "0.6.0",
"@defra/cdp-metrics": "0.5.0",
"@defra/hapi-tracing": "1.30.0",
"@elastic/ecs-pino-format": "1.5.0",
"@hapi/bell": "13.1.0",
"@hapi/catbox-memory": "6.0.2",
"@hapi/catbox-redis": "7.0.2",
"@hapi/cookie": "12.0.1",
"@hapi/crumb": "9.0.1",
"@hapi/hapi": "21.4.7",
"@hapi/inert": "7.1.0",
"@hapi/scooter": "7.0.0",
"@hapi/vision": "7.0.3",
"@hapi/yar": "11.0.3",
"accessible-autocomplete": "3.0.1",
"aws-embedded-metrics": "4.2.1",
"blankie": "5.0.0",
"convict": "6.2.4",
"cssnano": "7.1.3",
"cssnano-preset-default": "7.0.11",
"date-fns": "4.1.0",
"global-agent": "3.0.0",
"govuk-frontend": "6.1.0",
"hapi-pino": "13.0.0",
"hapi-pulse": "3.0.1",
"http-status-codes": "2.3.0",
"i18next": "25.8.14",
"i18next-fs-backend": "2.6.1",
"i18next-http-middleware": "3.9.2",
"ioredis": "5.10.0",
"jose": "6.2.0",
"lodash-es": "4.17.23",
"nunjucks": "3.2.4",
"pino": "10.3.1",
"pino-pretty": "13.1.3",
"to-words": "5.3.0",
"undici": "7.24.0"
},
"devDependencies": {
"@babel/cli": "7.28.6",
"@babel/core": "7.29.0",
"@babel/preset-env": "7.29.0",
"@eslint/js": "10.0.1",
"@hapi/iron": "7.0.1",
"@testing-library/dom": "10.4.1",
"@testing-library/jest-dom": "6.9.1",
"@types/convict": "6.1.6",
"@types/node": "25.3.5",
"@types/nunjucks": "3.2.6",
"@vitest/coverage-v8": "4.0.18",
"@vitest/eslint-plugin": "1.6.10",
"@vitest/ui": "4.0.18",
"autoprefixer": "10.4.27",
"babel-loader": "10.1.0",
"cheerio": "1.2.0",
"clean-webpack-plugin": "4.0.0",
"copy-webpack-plugin": "14.0.0",
"eslint": "10.0.3",
"eslint-config-prettier": "10.1.8",
"eslint-import-resolver-typescript": "4.4.4",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-jsdoc": "62.7.1",
"eslint-plugin-n": "17.24.0",
"eslint-plugin-prettier": "5.5.5",
"exceljs": "4.4.0",
"glob": "13.0.6",
"globals": "17.4.0",
"husky": "9.1.7",
"i18next-cli": "1.49.4",
"jsdom": "28.1.0",
"knip": "5.86.0",
"lint-staged": "16.3.2",
"msw": "2.12.10",
"nodemon": "3.1.14",
"npm-run-all": "4.1.5",
"postcss-load-config": "6.0.1",
"postcss-loader": "8.2.1",
"prettier": "3.8.1",
"prettier-plugin-sort-json": "4.2.0",
"sass": "1.97.3",
"sass-loader": "16.0.7",
"source-map-loader": "5.0.0",
"stylelint": "16.26.1",
"stylelint-config-gds": "2.0.0",
"terser-webpack-plugin": "5.3.17",
"typescript": "5.9.3",
"typescript-eslint": "8.56.1",
"vitest": "4.0.18",
"webpack": "5.105.4",
"webpack-assets-manifest": "6.5.1",
"webpack-cli": "6.0.1"
},
"overrides": {
"@isaacs/brace-expansion": "5.0.1",
"eslint-plugin-import": {
"eslint": "$eslint"
},
"tmp": "0.2.5"
}
}