-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
161 lines (161 loc) · 4.1 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
{
"name": "pay-frontend",
"description": "Payments Frontend application",
"version": "0.0.1",
"private": true,
"license": "MIT",
"engines": {
"node": "^18.20.4"
},
"standard": {
"globals": [
"describe",
"context",
"before",
"beforeEach",
"after",
"afterEach",
"it",
"expect",
"cy",
"Cypress",
"i18n",
"PaymentRequest",
"ApplePaySession",
"ApplePayError",
"ga",
"fetch",
"Element",
"location",
"Charge",
"parent",
"showCardType",
"openregisterLocationPicker",
"window"
],
"ignore": [
"app/assets/javascripts/modules/*.js"
]
},
"scripts": {
"compile": "grunt generate-assets",
"clean": "grunt clean",
"start": "node start.js",
"start:dev": "nodemon -e js,njk -r dotenv/config --inspect start-dev.js",
"watch": "chokidar app test *.js --initial -c 'npm run test'",
"lint": "standard --fix",
"lint-sass": "stylelint '**/*.scss'",
"watch-live-reload": "grunt watch",
"test": "rm -rf ./pacts && NODE_ENV=test mocha --exclude **/*.cy.test.js '!(node_modules)/**/*.test'.js",
"cypress:server": "run-amock --port=8000 | node -r dotenv/config start.js dotenv_config_path=test/cypress/test.env",
"cypress:test": "cypress run",
"cypress:test-headed": "cypress open",
"snyk-protect": "snyk-protect",
"publish-pacts": "./bin/publish-pacts.js"
},
"lint-staged": {
"*.js": [
"npm run lint",
"git add"
]
},
"nodemonConfig": {
"ignore": [
"test/*",
"assets/*",
"Gruntfile.js",
"app/browsered.js",
"public/js/*",
"locales/*"
]
},
"dependencies": {
"@aws-crypto/decrypt-node": "^1.0.3",
"@aws-crypto/raw-rsa-keyring-node": "^1.1.0",
"@govuk-pay/pay-js-commons": "^6.0.23",
"@govuk-pay/pay-js-metrics": "^1.0.6",
"@sentry/node": "7.119.2",
"cert-info": "^1.5.1",
"change-case": "2.3.x",
"client-sessions": "0.8.x",
"compression": "1.7.x",
"credit-card-type": "6.3.x",
"express": "4.21.2",
"express-rate-limit": "^7.1.4",
"gaap-analytics": "^3.1.0",
"govuk-frontend": "^5.6.0",
"helmet": "^7.1.0",
"hpagent": "^1.2.0",
"i18n": "0.15.x",
"lodash": "4.17.x",
"mailcheck": "^1.1.1",
"memory-cache": "^0.2.0",
"metrics": "0.1.21",
"minimist": "1.2.8",
"morgan": "1.10.x",
"nunjucks": "^3.2.4",
"polyfill-array-includes": "^2.0.0",
"promise-polyfill": "8.3.0",
"punycode": "1.4.1",
"randomstring": "^1.3.0",
"serve-favicon": "2.5.0",
"staticify": "5.0.x",
"throng": "5.0.x",
"uk-postcode": "0.1.x",
"winston": "3.11.0"
},
"devDependencies": {
"@babel/core": "^7.23.2",
"@babel/preset-env": "^7.23.2",
"@govuk-pay/run-amock": "0.0.5",
"@pact-foundation/pact": "^12.1.1",
"@pact-foundation/pact-core": "^14.0.5",
"@snyk/protect": "^1.1235.x",
"axios": "^1.7.4",
"browserify": "17.0.x",
"chai": "^4.3.8",
"chai-as-promised": "^7.1.1",
"chai-string": "^1.4.0",
"cheerio": "^1.0.0-rc.12",
"chokidar": "^3.5.3",
"chokidar-cli": "latest",
"cypress": "^13.3.1",
"dotenv": "^16.3.1",
"govuk-country-and-territory-autocomplete": "^2.0.0",
"grunt": "1.5.3",
"grunt-babel": "8.0.0",
"grunt-browserify": "6.0.0",
"grunt-cli": "1.4.3",
"grunt-contrib-clean": "2.0.1",
"grunt-contrib-compress": "2.0.0",
"grunt-contrib-concat": "2.1.0",
"grunt-contrib-copy": "1.0.0",
"grunt-contrib-uglify": "5.2.2",
"grunt-contrib-watch": "1.1.0",
"grunt-rewrite": "1.0.1",
"grunt-sass": "3.1.0",
"mocha": "10.2.x",
"nock": "13.3.4",
"nodemon": "^3.0.1",
"proxyquire": "~2.1.3",
"sass": "^1.69.3",
"sinon": "16.1.x",
"standard": "^16.0.x",
"stylelint": "^15.10.3",
"stylelint-config-gds": "^1.0.0",
"supertest": "^6.3.3"
},
"overrides": {
"grunt-rewrite": {
"grunt": "1.5.3"
},
"grunt-babel": {
"grunt": "1.5.3"
},
"staticify": {
"send": "0.19.0"
},
"cross-spawn": "^7.0.5"
},
"snyk": true
}