-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
102 lines (102 loc) · 4.51 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
{
"name": "di-ipv-cri-uk-passport-front-v1",
"version": "0.0.1",
"description": "DCS Credential Issuer user interface for the Identity Proofing and Verification (IPV) system within the GDS digital identity platform, GOV.UK Sign In.",
"main": "src/app.js",
"engines": {
"node": "20.x",
"yarn": "1.22.x"
},
"scripts": {
"start": "node src/app.js",
"start:ci": "NODE_ENV=development API_BASE_URL=http://127.0.0.1:8050/ yarn start",
"dev": "LOG_LEVEL=debug nodemon --inspect=0.0.0.0:9229 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/public/scripts && mkdir -p dist/public/images && mkdir -p dist/locales && cp -R src/locales/* dist/locales && cp -R src/assets/javascripts/*.js dist/public/scripts && cp -R 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 node_modules/@govuk-one-login/di-ipv-cri-common-express/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",
"prepare": "husky install",
"test": "SESSION_SECRET=1234 SESSION_TABLE_NAME=table-name mocha",
"test:coverage": "nyc --reporter=lcov --reporter=text-summary yarn test",
"test:watch": "mocha --watch",
"lint": "prettier --check --no-editorconfig src test && eslint .",
"lint-apply": "prettier --write src test && eslint .",
"mocks": "yarn run wiremock --port 8050 --root-dir test/mocks",
"test:browser": "mkdir -p reports && wait-on tcp:127.0.0.1:8050 tcp:127.0.0.1:5050 && cucumber-js --config test/browser/cucumber.js",
"test:browser:ci": "npm-run-all -p -r start:ci mocks test:browser",
"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-uk-passport-front-v1.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/alphagov/di-ipv-cri-uk-passport-front-v1/issues"
},
"homepage": "https://github.com/alphagov/di-ipv-cri-uk-passport-front-v1#readme",
"devDependencies": {
"@cucumber/cucumber": "10.0.1",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.15.0",
"@playwright/test": "1.48.2",
"chai": "4.5.0",
"chai-as-promised": "7.1.1",
"eslint": "9.14.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-prettier": "5.2.1",
"globals": "^15.12.0",
"husky": "9.1.6",
"lint-staged": "15.2.7",
"mocha": "10.8.2",
"nodemon": "3.0.1",
"prettier": "^3.1.0",
"proxyquire": "2.1.3",
"sass": "1.54.9",
"sinon": "17.0.1",
"sinon-chai": "3.7.0",
"uglify-js": "3.19.3"
},
"dependencies": {
"@aws-sdk/client-dynamodb": "3.651.1",
"@govuk-one-login/di-ipv-cri-common-express": "8.1.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.1.1",
"axe-playwright": "^2.0.3",
"@govuk-one-login/frontend-vital-signs": "0.1.1",
"axios": "1.6.1",
"cfenv": "1.2.4",
"connect-dynamodb": "3.0.3",
"dotenv": "^16.0.2",
"express": "4.21.0",
"express-async-errors": "^3.1.1",
"express-session": "^1.17.3",
"govuk-frontend": "4.9.0",
"hmpo-app": "2.4.0",
"hmpo-components": "7.1.0",
"hmpo-config": "3.0.1",
"hmpo-form-wizard": "12.0.6",
"hmpo-i18n": "5.0.2",
"hmpo-logger": "7.0.1",
"jsonwebtoken": "9.0.0",
"npm-run-all": "^4.1.5",
"nunjucks": "3.2.4",
"nyc": "15.1.0",
"reqres": "^3.0.1",
"wait-on": "^7.0.1",
"wiremock": "2.33.2"
},
"resolutions": {
"strip-ansi": "^6.0.1",
"string-width": "^4.2.2",
"wrap-ansi": "^7.0.0",
"i18next-fs-backend": "^2.1.1",
"i18next-http-middleware": "3.3.0",
"i18next": "22.4.14"
},
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}