-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
144 lines (144 loc) · 6.15 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
{
"name": "sya",
"description": "Submit Your Appeal",
"version": "0.0.1",
"license": "MIT",
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"start": "cross-env NODE_PATH=. NODE_OPTIONS=--openssl-legacy-provider node server.js",
"build": "NODE_OPTIONS=--openssl-legacy-provider webpack --config ./webpack/webpack.prod.js",
"dev": "./bin/generate-ssl-options.sh && cross-env NODE_ENV=development NODE_PATH=. NODE_OPTIONS=--openssl-legacy-provider node server.js",
"debug": "NODE_ENV=development cross-env NODE_PATH=. NODE_OPTIONS=--openssl-legacy-provider node --inspect server.js",
"setup": "exit 0",
"mock": "yarn mock-uploader & yarn debug",
"test:unit": "cross-env NODE_PATH=. NODE_ENV=test mocha --exit 'test/unit/**/*.test.js'",
"test:assets": "cross-env NODE_PATH=. NODE_ENV=test NODE_OPTIONS=--openssl-legacy-provider mochapack 'test/assets/**/*.test.js' --webpack-config test/webpack.config.js --require @babel/register",
"test": "yarn test:unit && yarn test:assets",
"test:all": "cross-env NODE_PATH=. NODE_ENV=test yarn test && yarn test:assets && yarn test:smoke",
"lint": "cross-env NODE_PATH=. eslint --fix .",
"test:smoke": "yarn playwright install && cross-env NODE_PATH=. NODE_ENV=test codeceptjs run -c test/e2e/smoke.conf.js --grep @smoke --steps --verbose --reporter mocha-multi",
"test:evidence-upload": "cross-env NODE_PATH=. NODE_ENV=test codeceptjs run -c test/e2e/ --grep @evidence-upload --steps",
"test:mutation": "cross-env NODE_PATH=. NODE_ENV=test codeceptjs run-multiple parallel --all -c test/e2e/ --grep @functional --steps --reporter mocha-multi",
"test:functional": "cross-env NODE_PATH=. NODE_ENV=test codeceptjs run-multiple parallel --all -c test/e2e/ --grep @functional --steps --reporter mocha-multi",
"test:fullfunctional": "cross-env NODE_PATH=. NODE_ENV=test codeceptjs run-multiple parallel --all -c test/e2e/ --grep 'functional|fullFunctional' --steps --reporter mocha-multi",
"test:e2e-pages": "cross-env NODE_PATH=. NODE_ENV=test codeceptjs run-multiple pages -c test/e2e/ --steps --reporter mocha-multi",
"test:functional:batch": "cross-env NODE_PATH=. NODE_ENV=test codeceptjs run -c test/e2e/ --grep @batch-$BATCH --steps",
"test:functional:batches": "for i in `seq -w 1 12`; do BATCH=$i yarn test:functional:batch; [ $? -ne 0 ] && exit $?; done; exit 0;",
"test:coverage": "cross-env NODE_PATH=. NODE_ENV=test nyc mocha 'test/unit/**/*.test.js'",
"test:crossbrowser": "yarn playwright install && cross-env NODE_PATH=. NODE_ENV=test codeceptjs run-multiple ${BROWSER_GROUP:-'--all'} -c test/e2e/saucelabs.conf.js --grep @crossbrowser --steps --reporter mocha-multi --verbose",
"test:a11y": "cross-env NODE_PATH=. NODE_ENV=a11y LOG_LEVEL=ERROR mocha --exit test/accessibility/a11y.js --exit --timeout 60000 --reporter mochawesome --reporter-options reportDir=functional-output,reportFilename=a11y,inlineAssets=true,reportTitle=submit-your-appeal",
"fortifyScan": "./test/java/gradlew -p test/java fortifyScan",
"mock-uploader": "node test/file_acceptor/evidence_uploader.js",
"mock-ccd": "node mocks/ccd/server.js"
},
"pre-commit": [
"lint"
],
"dependencies": {
"@babel/core": "^7.24.4",
"@babel/preset-env": "^7.24.4",
"@cypress/request": "^3.0.0",
"@cypress/request-promise": "^5.0.0",
"@hmcts/cookie-manager": "^1.0.0",
"@hmcts/div-idam-express-middleware": "^6.6.2",
"@hmcts/nodejs-healthcheck": "^1.8.0",
"@hmcts/one-per-page": "^5.4.0",
"@hmcts/properties-volume": "^1.1.0",
"@hmcts/uk-bank-holidays": "^1.0.2",
"accessible-autocomplete": "^2.0.4",
"applicationinsights": "^2.7.3",
"babel-loader": "^8.3.0",
"body-parser": "^1.20.2",
"chalk": "^4.1.2",
"clean-webpack-plugin": "^4.0.0",
"config": "^3.3.9",
"cookie-parser": "^1.4.6",
"cookies": "^0.8.0",
"copy-webpack-plugin": "^6.4.1",
"cross-env": "^7.0.3",
"css-loader": "^5.2.7",
"csurf": "^1.11.0",
"express": "^4.19.2",
"express-nunjucks": "^3.1.1",
"file-loader": "^6.2.0",
"formidable": "^3.5.1",
"govuk-frontend": "^4.7.0",
"govuk_template_jinja": "^0.26.0",
"graceful-fs": "^4.2.11",
"helmet": "^7.0.0",
"html-entities": "^2.4.0",
"http-status-codes": "^2.2.0",
"jquery": "^3.7.1",
"jquery-modal": "^0.9.2",
"js-base64": "^3.7.5",
"libphonenumber-js": "^1.10.43",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"mini-css-extract-plugin": "^1.6.2",
"moment": "^2.29.4",
"nunjucks": "^3.2.4",
"nunjucks-loader": "^3.0.0",
"optimize-css-assets-webpack-plugin": "^6.0.1",
"parse-full-name": "^1.2.6",
"redis": "^4.6.8",
"sass": "^1.66.1",
"sass-loader": "^10.4.1",
"superagent": "^8.1.2",
"superagent-csrf": "^1.0.0",
"terser-webpack-plugin": "^4.2.3",
"uuid": "^9.0.0",
"webpack": "^4.46.0",
"webpack-cli": "^4.10.0",
"webpack-dev-middleware": "^5.3.4",
"webpack-merge": "^5.9.0"
},
"devDependencies": {
"@babel/register": "^7.23.7",
"@hmcts/eslint-config": "^1.4.0",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"chai-jq": "^0.0.9",
"codeceptjs": "^3.5.14",
"eslint": "^8.48.0",
"eslint-plugin-mocha": "^5.0.0",
"fs": "^0.0.1-security",
"gulp": "^4.0.2",
"gulp-cli": "^2.3.0",
"jsdom": "^16.5.0",
"mocha": "^6.1.4",
"mocha-multi": "^1.1.0",
"mocha-param": "^2.0.0",
"mochapack": "^2.1.2",
"mochawesome": "^4.0.1",
"nock": "^13.3.3",
"nyc": "^15.1.0",
"pa11y": "^6.2.3",
"playwright": "^1.41.1",
"pre-commit": "^1.2.2",
"proxyquire": "^2.1.3",
"puppeteer": "^22.4.1",
"rewire": "^7.0.0",
"sinon": "^15.2.0",
"sinon-chai": "^3.7.0",
"supertest": "^6.3.3",
"webdriverio": "8.10.5",
"webpack-node-externals": "3.0.0"
},
"resolutions": {
"@hmcts/nodejs-logging": "^4.0.4",
"debug": "^3.2.7",
"json-schema": "^0.4.0",
"postcss": "^8.4.31",
"qs": "^6.11.2",
"redis": "^3.1.1",
"semver": "^7.5.4",
"tough-cookie": "^4.1.3",
"browserify-sign": "^4.2.1",
"express": "^4.19.2",
"formidable": "^3.5.1",
"micromatch": "^4.0.8"
},
"packageManager": "[email protected]"
}