-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
126 lines (126 loc) · 4.65 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
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
{
"name": "cdms-frontend",
"version": "0.0.0",
"description": "CDP Frontend Template",
"sideEffects": false,
"main": ".server/index.js",
"type": "module",
"engines": {
"node": ">=20.11.1"
},
"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",
"dev": "run-p frontend:watch server:watch",
"dev:debug": "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",
"git:pre-commit-hook": "npm run format:check && npm run lint && npm test",
"postinstall": "npm run setup:husky && npm run build",
"lint": "run-s lint:js lint:scss lint:types",
"lint:fix": "eslint . --fix",
"lint:js": "eslint .",
"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": "jest --coverage --verbose",
"test:watch": "jest --watch",
"server:watch": "nodemon --exec tsx --enable-source-maps ./src",
"server:debug": "nodemon --exec tsx --enable-source-maps --inspect ./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"
},
"author": "Defra DDTS",
"license": "OGL-UK-3.0",
"dependencies": {
"@babel/runtime": "^7.25.6",
"@elastic/ecs-pino-format": "^1.5.0",
"@hapi/basic": "7.0.2",
"@hapi/bell": "13.0.2",
"@hapi/catbox-memory": "^6.0.2",
"@hapi/catbox-redis": "^7.0.2",
"@hapi/cookie": "12.0.1",
"@hapi/hapi": "^21.3.10",
"@hapi/inert": "^7.1.0",
"@hapi/jwt": "3.2.0",
"@hapi/vision": "^7.0.3",
"@hapi/yar": "^11.0.2",
"aws-embedded-metrics": "^4.1.1",
"babel-plugin-module-resolver": "^5.0.2",
"chart.js": "4.4.6",
"chartjs-adapter-date-fns": "3.0.0",
"chartjs-plugin-datalabels": "2.2.0",
"convict": "^6.2.4",
"cssnano": "^7.0.6",
"cssnano-preset-default": "^7.0.6",
"date-fns": "3.6.0",
"devour-client": "3.1.5",
"govuk-frontend": "^5.6.0",
"hapi-pino": "^12.1.0",
"hapi-pulse": "^3.0.1",
"https-proxy-agent": "^7.0.5",
"ioredis": "^5.4.1",
"lodash": "^4.17.21",
"node-fetch": "^3.3.2",
"nunjucks": "^3.2.4",
"pino": "^9.4.0",
"pino-pretty": "^11.2.2",
"undici": "^6.19.8",
"uuid": "11.0.3"
},
"devDependencies": {
"@babel/cli": "^7.25.6",
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.4",
"@types/convict": "^6.1.6",
"@types/hapi__catbox-memory": "^4.1.8",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.17.7",
"@types/node": "20.16.5",
"@types/nunjucks": "^3.2.6",
"@types/webpack-assets-manifest": "^5.1.4",
"@typescript-eslint/eslint-plugin": "^7.17.0",
"@typescript-eslint/parser": "^7.17.0",
"autoprefixer": "^10.4.20",
"babel-jest": "^29.7.0",
"babel-loader": "^9.1.3",
"babel-plugin-transform-import-meta": "^2.2.1",
"cheerio": "^1.0.0",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^12.0.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard": "^17.1.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-jest": "^28.8.3",
"eslint-plugin-jest-formatting": "^3.1.0",
"eslint-plugin-jsdoc": "^48.8.3",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-promise": "^6.4.0",
"husky": "^9.1.5",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"nock": "^14.0.0-beta.13",
"nodemon": "^3.1.4",
"npm-run-all": "^4.1.5",
"postcss-load-config": "^6.0.1",
"postcss-loader": "^8.1.1",
"prettier": "^3.3.3",
"sass-embedded": "^1.78.0",
"sass-loader": "^16.0.1",
"source-map-loader": "^5.0.0",
"stylelint": "^16.9.0",
"stylelint-config-gds": "^2.0.0",
"terser-webpack-plugin": "^5.3.10",
"tsx": "^4.19.0",
"typescript": "^5.5.4",
"webpack": "^5.94.0",
"webpack-assets-manifest": "^5.2.1",
"webpack-cli": "^5.1.4"
}
}