-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 2.92 KB
/
package.json
File metadata and controls
58 lines (58 loc) · 2.92 KB
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
{
"name": "@hmcts/adoption-case-definition",
"version": "0.0.52",
"description": "Utility to help creating CCD config definitions",
"main": "build/ts/index.d.ts",
"types": "build/ts/index.d.ts",
"repository": "git@github.com:hmcts/adoption-cos-api.git",
"license": "MIT",
"engines": {
"node": ">=18.16.1"
},
"scripts": {
"prepublishOnly": "npm run genCaseTypeConsts && npm run genCitizenEventNameConsts && npm run genCommonEventNameConsts && npm run genSystemEventNameConsts",
"genCaseTypeConsts": "grep -rh \"public static final String\" ./src/main/java/uk/gov/hmcts/reform/adoption/adoptioncase/Adoption.java | sed \"s/ public static final String/export const/\" >> ./build/ts/index.ts",
"genCitizenEventNameConsts": "grep -rh \"public static final String\" ./src/main/java/uk/gov/hmcts/reform/adoption/citizen/event | sed \"s/ public static final String/export const/\" >> ./build/ts/index.ts",
"genCommonEventNameConsts": "grep -rh \"public static final String\" ./src/main/java/uk/gov/hmcts/reform/adoption/common/event | sed \"s/ public static final String/export const/\" >> ./build/ts/index.ts",
"genSystemEventNameConsts": "grep -rh \"public static final String\" ./src/main/java/uk/gov/hmcts/reform/adoption/systemupdate/event | sed \"s/ public static final String/export const/\" >> ./build/ts/index.ts",
"test:smoke": "yarn npm audit --recursive --environment production && MOCHAWESOME_REPORTFILENAME=smoke codeceptjs run --grep '${SMOKE_TESTS_SELECTOR:=@smoke-tests}' --reporter mocha-multi",
"test:functional": "MOCHAWESOME_REPORTFILENAME=functional codeceptjs run-multiple parallel --reporter mocha-multi",
"test:fullfunctional": "MOCHAWESOME_REPORTFILENAME=functional codeceptjs run-multiple parallel --reporter mocha-multi",
"test:crossbrowser-e2e": "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:local": "codeceptjs run-multiple parallel"
},
"devDependencies": {
"@wdio/cli": "^8.10.5",
"@wdio/sauce-service": "^8.22.1",
"allure-commandline": "^2.17.2",
"axios-debug-log": "^0.8.4",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"codeceptjs": "^3.4.1",
"css-loader": "^6.7.1",
"html-webpack-plugin": "^5.5.0",
"lodash": "^4.17.21",
"mocha": ">=2.2.0 <7 || >=9",
"mocha-junit-reporter": "^2.0.0",
"mocha-multi": "^1.1.6",
"mochawesome": "^7.1.3",
"moment": "^2.29.3",
"nodemon": "^2.0.21",
"npm-run-all": "^4.1.2",
"otplib": "^12.0.1",
"playwright": "^1.22.2",
"puppeteer": "^23.3.0",
"puppeteer-core": "^23.3.0",
"webdriverio": "^7.19.7",
"webpack": "^5.94.0"
},
"resolutions": {
"minimist": "^1.2.6",
"axios": "^1.13.5"
},
"dependencies": {
"axios": "^1.13.5"
},
"packageManager": "yarn@3.8.7"
}