-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
109 lines (109 loc) · 4.9 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
{
"name": "di-ipv-cri-f2f-front",
"version": "0.0.1",
"description": "User interface for the Face-To-Face (F2F) part of the Identity Proofing and Verification (IPV) system within the GDS digital identity platform, GOV.UK Sign In.",
"main": "src/server.js",
"engines": {
"node": "20.*",
"yarn": "1.22.*"
},
"scripts": {
"start": "node src/app.js",
"start:ci": "REDIS_SESSION_URL= NODE_ENV=development node src/app.js",
"start:debug": "DEBUG=* node src/app.js",
"dev": "nodemon src/app.js",
"build": "yarn build-sass && yarn build-js && yarn copy-assets",
"build-sass": "rm -rf dist/public/stylesheets/application.css && sass --no-source-map src/assets/scss/application.scss dist/public/stylesheets/application.css --style compressed",
"copy-assets": "mkdir -p dist && copyfiles -u 1 src/**/*.njk dist/ src/locales/**/** dist/ && copyfiles -u 3 src/assets/images/* dist/public/images",
"build-js": "yarn build-js:analytics && yarn build-js:all",
"build-js:analytics": "mkdir -p dist/public/javascripts; uglifyjs node_modules/@govuk-one-login/frontend-analytics/lib/analytics.js src/assets/javascript/analytics/ua/init.js -o dist/public/javascripts/analytics.js",
"build-js:all": "mkdir -p dist/public/javascripts; uglifyjs node_modules/govuk-frontend/govuk/all.js node_modules/hmpo-components/all.js --beautify -o dist/public/javascripts/all.js",
"lint": "eslint .",
"prettier": "prettier \"**/*.{js,md}\" --check",
"prettier:fix": "yarn prettier --write",
"prepare": "husky install",
"test": "mocha",
"test:coverage": "nyc --reporter=lcov --reporter=text-summary yarn test",
"test:watch": "mocha --watch",
"test:browser": "cucumber-js test/browser/features/**/*.feature --require test/browser/support/env.js --require test/browser/support/setup.js --require test/browser/step_definitions/**/*.js -f json:./test/reports/cucumber_report.json --tags @browser",
"test:browser:ci": "npm-run-all -p -r start:ci test:browser && npm run test:browser:report",
"test:browser:report": "node ./test/utils/multiReportGenerator.js",
"test:pii": "bash ./check-logs.sh",
"test:e2e:cd:cucumber": "cucumber-js test/browser/features/**/*.feature --require test/browser/support/env.js --require test/browser/support/setup.js --require test/browser/step_definitions/**/*.js -f json:./test/reports/cucumber_report.json --tags \"@e2e or @browser\"",
"test:e2e:cd": "npm-run-all -c test:e2e:cd:cucumber test:browser:report",
"test:e2e": "cucumber-js test/browser/features/**/*.feature --require test/browser/support/env.js --require test/browser/support/setup.js --require test/browser/step_definitions/**/*.js -f json:./test/reports/cucumber_report.json --tags @e2e",
"check-translation": "node node_modules/@govuk-one-login/di-ipv-cri-common-express/scripts/checkTranslations.js '../../../../src/locales'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/alphagov/di-ipv-cri-f2f-front.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/alphagov/di-ipv-cri-f2f-front/issues"
},
"homepage": "https://github.com/alphagov/di-ipv-cri-f2f-front#readme",
"packageManager": "[email protected]",
"devDependencies": {
"@aws-sdk/util-dynamodb": "^3.391.0",
"@cucumber/cucumber": "10.7.0",
"ajv": "^8.12.0",
"ajv-formats": "2.1.1",
"aws4-axios": "^3.2.24",
"chai": "4.3.7",
"chai-as-promised": "7.1.1",
"eslint": "9.17.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.2.1",
"fast-xml-parser": "^4.2.7",
"husky": "8.0.3",
"lint-staged": "13.2.3",
"mocha": "10.2.0",
"multiple-cucumber-html-reporter": "^3.4.0",
"nodemon": "2.0.22",
"npm-run-all": "4.1.5",
"nyc": "15.1.0",
"playwright": "1.35.1",
"prettier": "2.8.8",
"proxyquire": "2.1.3",
"reqres": "3.0.1",
"sass": "1.63.6",
"sinon": "15.2.0",
"sinon-chai": "3.7.0",
"uglify-js": "3.17.4",
"wait-on": "7.0.1"
},
"dependencies": {
"@aws-sdk/credential-providers": "^3.535.0",
"@govuk-one-login/di-ipv-cri-common-express": "6.4.0",
"@govuk-one-login/frontend-analytics": "2.0.1",
"@govuk-one-login/frontend-language-toggle": "^1.1.0",
"@govuk-one-login/frontend-passthrough-headers": "1.0.0",
"aws-sdk": "^2.1551.0",
"axios": "1.7.0",
"cfenv": "1.2.4",
"connect-dynamodb": "^2.0.6",
"copyfiles": "2.4.1",
"dotenv": "16.3.1",
"express": "4.21.2",
"express-async-errors": "3.1.1",
"express-session": "^1.17.3",
"govuk-frontend": "4.9.0",
"hmpo-app": "3.0.1",
"hmpo-components": "6.4.0",
"hmpo-config": "3.0.0",
"hmpo-form-wizard": "13.0.0",
"hmpo-i18n": "6.0.1",
"hmpo-logger": "7.0.1",
"jest": "^29.7.0",
"jsonwebtoken": "9.0.0",
"moment": "^2.29.4",
"node-rsa": "^1.1.1",
"nunjucks": "3.2.4",
"uuid": "^9.0.1"
},
"resolutions": {
"string-width": "^4.2.2"
}
}