-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
85 lines (85 loc) · 2.88 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
{
"name": "statswales",
"version": "1.0.0",
"description": "This is the StatsWales private alpha repository. This repository is here to allow us to experiment with a number of technologies to prove out a number of hypotheses and establish the technologies we may wish to take in to Beta.",
"main": "server.js",
"scripts": {
"clean": "rimraf dist/*",
"copy-assets": "ts-node tools/copy-assets",
"tsc": "tsc",
"prettier:ci": "prettier --config .prettierrc 'src/**/*.ts' --check",
"prettier:fix": "prettier --config .prettierrc 'src/**/*.ts' --write",
"lint:ci": "eslint .",
"lint:fix": "eslint . --fix",
"build": "npm-run-all clean tsc copy-assets",
"test": "APP_ENV=ci jest",
"test:ci": "APP_ENV=ci jest --ci --coverage --config=jest.config.ts",
"check": "npm-run-all prettier:fix lint:fix test build",
"dev:check": "npm-run-all check dev",
"predev": "f() { if [ $(command -v podman) ]; then podman compose up -d redis; else docker compose up -d redis; fi }; f",
"dev": "APP_ENV=local nodemon --watch src -e ts,ejs --exec npm run start",
"start": "npm run build && node dist/server.js | pino-colada",
"start:container": "node dist/server.js"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@shopify/eslint-plugin": "^46.0.0",
"@types/cookie-parser": "^1.4.7",
"@types/express": "^4.17.21",
"@types/express-session": "^1.18.0",
"@types/jest": "^29.5.13",
"@types/jsonwebtoken": "^9.0.7",
"@types/lodash": "^4.17.9",
"@types/multer": "^1.4.12",
"@types/node": "^20.11.27",
"@types/passport": "^1.0.16",
"@types/set-cookie-parser": "^2.4.10",
"@types/shelljs": "^0.8.15",
"@types/supertest": "^6.0.2",
"@types/uuid": "^10.0.0",
"eslint": "^8.57.1",
"jest": "^29.7.0",
"jest-junit": "^16.0.0",
"jest-junit-reporter": "^1.1.0",
"msw": "2.4.3",
"nodemon": "^3.1.7",
"npm-run-all": "^4.1.5",
"pino-colada": "^2.2.2",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"set-cookie-parser": "^2.7.0",
"shelljs": "^0.8.5",
"supertest": "^7.0.0",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"ts-node-dev": "^2.0.0",
"typescript": "5.5"
},
"dependencies": {
"connect-redis": "^7.1.1",
"cookie-parser": "^1.4.6",
"dotenv": "^16.4.5",
"ejs": "^3.1.10",
"express": "^4.21.0",
"express-rate-limit": "^7.4.0",
"express-session": "^1.18.0",
"express-user": "^1.2.0",
"express-validator": "^7.2.0",
"govuk-frontend": "^5.6.0",
"i18next": "^23.15.1",
"i18next-fs-backend": "^2.3.2",
"i18next-http-middleware": "^3.6.0",
"jsonwebtoken": "^9.0.2",
"lodash": "^4.17.21",
"multer": "^1.4.5-lts.1",
"nanoid": "^3.3.7",
"passport": "^0.7.0",
"pino": "^9.4.0",
"pino-http": "^10.3.0",
"redis": "^4.7.0",
"uuid": "^10.0.0",
"walk-object": "^4.0.0"
}
}