-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
107 lines (107 loc) · 5.39 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
{
"name": "prl-ccd-definitions",
"version": "1.0.0",
"description": "Utility to help creating CCD config definitions",
"main": "index.js",
"repository": "[email protected]:hmcts/prl-ccd-definitions.git",
"license": "MIT",
"private": true,
"engines": {
"node": ">=18.16.1"
},
"scripts": {
"envs": "node json-env.js",
"reset-ccd-submodule": "git submodule update --init --recursive && git submodule foreach --recursive git pull origin master && cd ccd-definition-processor && yarn install",
"setup": "git submodule update --init --recursive && cd ccd-definition-processor && yarn install",
"lint": "eslint --fix .",
"test": "NODE_PATH=. mocha test/unit/definitions/**/*.js",
"test:coverage": "echo test:coverage",
"test:a11y": "echo test:a11y",
"codeceptjs": "node $NODE_DEBUG_OPTION ./node_modules/.bin/codeceptjs --verbose",
"test:crossbrowser-e2e": "yarn install && MOCHAWESOME_REPORTFILENAME=crossbrowser codeceptjs run-multiple --grep \"@cross-browser\" ${BROWSER_GROUP:-'--all'} -c saucelabs.conf.js --reporter mocha-multi",
"test:crossbrowser": "./bin/run-crossbrowser-tests.sh",
"test:uploadFile": "yarn install && MOCHAWESOME_REPORTFILENAME=functional codeceptjs run --steps --grep \"@pipeline\" -c test/functional/codecept.conf.js --reporter mocha-multi",
"test:debug": "yarn install && codeceptjs run --steps --grep \"@debug\" -c test/end-to-end/codecept.conf.js --verbose --reporter mocha-multi",
"test:preview": "yarn install && codeceptjs run-multiple parallel --all --steps --grep \"@preview-regression\" -c test/end-to-end/codecept.conf.js --verbose --reporter mocha-multi",
"test:master": "yarn install && codeceptjs run-multiple parallel --all --steps --grep \"@ptl-regression\" -c test/end-to-end/codecept.conf.js --verbose --reporter mocha-multi",
"test:functional": "ENVIRONMENT=${ENVIRONMENT} ./test/end-to-end/run-functional-tests.sh",
"test:fullfunctional": "yarn install && codeceptjs run-multiple parallel --all --steps --grep \"@regression-suite\" -c test/end-to-end/codecept.conf.js --verbose --reporter mocha-multi",
"test:smoke": "yarn install && MOCHAWESOME_REPORTFILENAME=smoke codeceptjs run --steps -c test/smoke/codecept.conf.js --reporter mocha-multi",
"start": "node index.js",
"playwrightsetup": "yarn playwright install",
"sonar-scan": "node_modules/sonar-scanner/bin/sonar-scanner",
"highLevelDataSetup": "echo './gradlew highLevelDataSetup --args=$1' > ./temp.sh && sh ./temp.sh",
"generate-json": "cd ccd-definition-processor && yarn xlsx2json -D ../definitions/private-law/json -i ../definitions/private-law/xlsx/ccd-config-PRL-base.xlsx && pretty-quick --pattern 'definitions/**/json/**.json'",
"generate-excel-local": "yarn envs local generate-excel -e '*-prod.json,*-sublive.json,*-ignore.json'",
"generate-excel-preview": "yarn envs preview generate-excel -e '*-prod.json,*-sublive.json,*-ignore.json'",
"generate-excel-demo": "yarn envs demo generate-excel -e '*-prod.json,*-preview.json,*-ignore.json'",
"generate-excel-aat": "yarn envs aat generate-excel -e '*-prod.json,*-preview.json,*-ignore.json'",
"generate-excel-perftest": "yarn envs perftest generate-excel -e '*-prod.json,*-preview.json,*-ignore.json'",
"generate-excel-ithc": "yarn envs ithc generate-excel -e '*-prod.json,*-preview.json,*-ignore.json'",
"generate-excel-prod": "yarn envs prod generate-excel -e '*-nonprod.json,*-sublive.json,*-preview.json,*-ignore.json'",
"generate-excel": "cd ccd-definition-processor && yarn json2xlsx -D ../definitions/private-law/json -o ../definitions/private-law/xlsx/ccd-config-PRL-${TARGET_ENV:-base}.xlsx",
"generate-excel-all": "yarn generate-excel-local && yarn generate-excel-preview && yarn generate-excel-aat && yarn generate-excel-demo && yarn generate-excel-ithc && yarn generate-excel-perftest && yarn generate-excel-prod"
},
"pre-commit": [
"lint"
],
"dependencies": {
"@hmcts/nodejs-healthcheck": "1.8.4",
"@hmcts/properties-volume": "1.2.0",
"assert": "^2.1.0",
"config": "^3.0.1",
"eslint-plugin-codeceptjs": "^1.3.0",
"express": "^4.19.2",
"html_codesniffer": "^2.5.1",
"json-schema": "^0.4.0",
"left-pad": "^1.3.0",
"minimist": "^1.2.3",
"playwright": "1.46.1",
"puppeteer": "^22.0.0",
"ws": "^8.18.0"
},
"devDependencies": {
"@hmcts/eslint-config": "^1.4.0",
"@playwright/test": "1.46.1",
"chai": "^4.2.0",
"codeceptjs": "^3.6.5",
"eslint": "^5.16.0",
"eslint-plugin-mocha": "^10.5.0",
"husky": "^2.2.0",
"lodash": "^4.17.21",
"mocha": "^9.2.0",
"mocha-junit-reporter": "^2.0.0",
"mocha-multi": "^1.1.6",
"mochawesome": "^7.1.2",
"otp": "^0.1.3",
"pre-commit": "^1.2.2",
"prettier": "^1.17.0",
"pretty-quick": "^1.10.0",
"sonar-scanner": "^3.1.0",
"webdriverio": "^6.12.1"
},
"resolutions": {
"flat": "^5.0.1",
"minimatch": "^3.0.5",
"json5": "^2.2.2",
"follow-redirects": "^1.15.6",
"axios": "^1.0.0",
"codeceptjs/mocha-junit-reporter": ">=2.1.1",
"cookiejar": ">=2.1.4",
"jackspeak": "2.3.6",
"ip": "^2.0.1",
"tough-cookie": "4.1.3",
"semver": "^7.5.4",
"micromatch": "^4.0.8",
"send": "0.19.0",
"serve-static": "1.16.2",
"ws": "^8.18.0",
"uuid": "^10.0.0",
"superagent": "10.1.0",
"rimraf": "^5.0.0"
},
"packageManager": "[email protected]",
"overrides": {
"braces": "^3.0.3"
}
}