-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
91 lines (91 loc) · 2.84 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
{
"name": "prisoner-content-hub-frontend",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"postinstall": "husky",
"start": "node server.js",
"dev": "nodemon server.js",
"debug": "nodemon --inspect-brk server.js",
"build": "npm run css-build && npm run precompile-templates",
"css-build": "./bin/build-css",
"clean": "rm -rf public/* .port.tmp *.log build/* uploads/* test-results.xml",
"lint": "eslint . --cache --max-warnings 0",
"test": "jest --runInBand",
"clear_jest": "jest --clearCache",
"test:e2e:ci": "npm run start-ci --prefix ./e2e",
"test:e2e:ui": "npm run start-ui --prefix ./e2e",
"record-build-info": "node ./bin/record-build-info",
"prettier": "prettier \"**/*.+(js|jsx|json|css|scss|md)\"",
"verify": "npm run lint && npm run prettier -- --list-different && npm run test",
"format": "npm run prettier -- --write",
"security_audit": "npx audit-ci --config audit-ci.json",
"precompile-templates": "mkdir -p assets/generated && nunjucks-precompile -n content-tile-small server/views/components/content-tile-small/template.njk > assets/generated/templates.js"
},
"repository": {
"type": "git",
"url": "https://github.com/ministryofjustice/prisoner-content-hub-frontend/"
},
"engines": {
"node": "22",
"npm": "10"
},
"jest": {
"verbose": true,
"testMatch": [
"**/__tests__/**/*.[jt]s?(x)"
]
},
"dependencies": {
"@ministryofjustice/frontend": "^3.2.2",
"@sentry/node": "^8.47.0",
"applicationinsights": "^2.9.6",
"axios": "^1.7.9",
"body-parser": "^1.20.3",
"bunyan": "^1.8.15",
"bunyan-format": "^0.2.1",
"compression": "^1.7.5",
"cookie-session": "^2.1.0",
"cookies": "^0.9.1",
"date-fns": "^4.1.0",
"dotenv": "^16.4.7",
"drupal-jsonapi-params": "^2.3.2",
"express": "^4.21.1",
"govuk-frontend": "^5.7.1",
"helmet": "^8.0.0",
"i18next": "^24.1.0",
"i18next-fs-backend": "^2.6.0",
"i18next-http-middleware": "^3.7.0",
"jquery": "^3.7.1",
"jsona": "~1.9.7",
"jsonwebtoken": "^9.0.2",
"mkdirp": "^3.0.1",
"moment": "^2.30.1",
"nocache": "^4.0.0",
"nunjucks": "^3.2.4",
"passport": "^0.7.0",
"passport-azure-ad-oauth2": "0.0.4",
"ramda": "^0.30.1",
"redis": "^4.7.0",
"video.js": "^8.21.0"
},
"devDependencies": {
"@babel/eslint-parser": "^7.25.9",
"@sinonjs/fake-timers": "^12.0.0",
"cheerio": "^1.0.0",
"eslint": "^8.57.1",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-cypress": "^3.5.0",
"eslint-plugin-import": "^2.31.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jsdom": "^25.0.1",
"lint-staged": "^15.2.11",
"nock": "^13.5.6",
"nodemon": "^3.1.9",
"prettier": "^3.4.2",
"sass": "^1.83.0",
"supertest": "^7.0.0"
}
}