-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
146 lines (146 loc) · 6.52 KB
/
package.json
File metadata and controls
146 lines (146 loc) · 6.52 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
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
{
"name": "darts-portal",
"version": "0.0.0",
"engines": {
"node": ">=22"
},
"scripts": {
"ng": "ng",
"start": "node dist/server/server",
"dev:ng": "ng serve",
"dev:node": "nodemon",
"dev": "concurrently --names \"NODE,ANGULAR\" -c \"bgBlue.bold,bgGreen.bold\" \"yarn dev:node\" \"yarn watch\"",
"dev:darts-api-demo": "DARTS_API_URL=https://darts-api.demo.platform.hmcts.net concurrently --names \"VERIFY-STG-ACCESS,NODE,ANGULAR\" -c \"bgRed.bold,bgBlue.bold,bgGreen.bold\" \"yarn verify-stg-access\" \"yarn dev:node\" \"yarn watch\"",
"dev:darts-api-stg": "DARTS_API_URL=https://darts-api.staging.platform.hmcts.net concurrently --names \"VERIFY-STG-ACCESS,NODE,ANGULAR\" -c \"bgRed.bold,bgBlue.bold,bgGreen.bold\" \"yarn verify-stg-access\" \"yarn dev:node\" \"yarn watch\"",
"dev:darts-api-stub": "DARTS_API_URL=http://localhost:4545 concurrently --names \"DARTS-API-STUB,NODE,ANGULAR\" -c \"bgRed.bold,bgBlue.bold,bgGreen.bold\" \"yarn darts-api-stub\" \"yarn dev:node\" \"yarn watch\"",
"darts-api-stub": "node darts-api-stub",
"build:node": "yarn tsc -p ./server/tsconfig.json && cp -R ./server/assets ./dist/server && cp -R ./server/downloads ./dist/server",
"build:ng": "ng build --configuration production",
"build": "yarn build:node && yarn build:ng",
"build:ssr": "yarn build",
"watch": "ng build --watch --configuration development",
"test": "TZ='Europe/London' jest --coverage",
"test:watch": "TZ='Europe/London' jest --watch",
"test:coverage": "TZ='Europe/London' echo 'Covered in yarn:test' && exit 0",
"test:a11y": "echo 'Covered in functional testing' && exit 0",
"cypress": "TZ='Europe/London' cypress open",
"verify-stg-access": "ts-node -P ./scripts/tsconfig.json scripts/verify-stg-access.ts",
"test:smoke": "bash -lc 'mkdir -p smoke-output && cypress run --spec \"cypress/e2e/smoke/*-spec.cy.js\" --browser chrome --reporter junit --reporter-options \"mochaFile=smoke-output/smoke/test-output-[hash].xml\" --config \"video=false,screenshotOnRunFailure=true,trashAssetsBeforeRuns=false\"' && yarn test:smoke:combine:reports",
"test:smoke:combine:reports": "jrm smoke-output/smoke/smoke-test-result.xml \"smoke-output/smoke/*.xml\"",
"test:up": "yarn build && ts-node -P ./scripts/tsconfig.json scripts/start-app.ts",
"test:functional:cypress": "TZ='Europe/London' cypress run --spec 'cypress/e2e/functional/**/*-spec.cy.js'",
"test:functional": "DARTS_API_URL=http://localhost:4545 TEST_URL=http://localhost:3000 start-test 'darts-api-stub' 4545 'test:up' 3000 'test:functional:cypress'; yarn test:functional:combine:reports && yarn test:functional:html-report",
"test:functional:combine:reports": "jrm functional-output/functional/functional-test-result.xml \"functional-output/functional/*.xml\"",
"test:functional:html-report": "xunit-viewer -r functional-output/functional/functional-test-result.xml -o ./functional-output/functional/functional-test-result.html",
"lint": "yarn prettier && yarn lint:ng",
"lint:ng": "ng lint",
"precommit": "yarn prettier && yarn lint:ng",
"prettier": "prettier --check \"./**/*.{ts,js,html,scss}\"",
"prettier:fix": "prettier --write \"./**/*.{ts,js,html,scss}\"",
"fortifyScan": "./test/java/gradlew -p test/java fortifyScan",
"docker:build": "docker build -t darts-portal .",
"docker:run": "docker run -it -p 3000:3000 darts-portal"
},
"private": true,
"dependencies": {
"@angular/animations": "20.3.15",
"@angular/cdk": "20.2.14",
"@angular/common": "20.3.15",
"@angular/compiler": "20.3.18",
"@angular/core": "20.3.18",
"@angular/forms": "20.3.15",
"@angular/platform-browser": "20.3.15",
"@angular/platform-browser-dynamic": "20.3.15",
"@angular/router": "20.3.15",
"@dynatrace/dtrum-api-types": "1.291.1",
"@hmcts/nodejs-healthcheck": "^1.8.5",
"@hmcts/properties-volume": "^1.1.0",
"@microsoft/applicationinsights-web": "^3.2.2",
"@ministryofjustice/frontend": "^5.1.5",
"@types/config": "^3.3.4",
"accessible-autocomplete": "^3.0.0",
"applicationinsights": "^3.12.0",
"axios": "1.15.0",
"body-parser": "^2.2.1",
"config": "^4.0.0",
"connect-redis": "^9.0.0",
"cookie-parser": "^1.4.6",
"express": "^5.2.0",
"express-session": "^1.18.2",
"govuk-frontend": "^5.9.1",
"http-proxy-middleware": "^3.0.5",
"js-yaml": "^4.1.0",
"luxon": "^3.4.4",
"ngx-cookie-service": "^21.0.0",
"nunjucks": "^3.2.4",
"redis": "^5.9.0",
"rxjs": "~7.8.1",
"tslib": "^2.6.3",
"zone.js": "~0.16.0"
},
"resolutions": {
"@angular/*": "20.2.7",
"micromatch": "^4.0.8",
"send": "^1.0.0",
"cookie": "^1.0.0",
"express/path-to-regexp": "^8.0.0",
"body-parser@^2.2.0": "2.2.1",
"formidable": "^3.5.3",
"on-headers": "^1.1.0",
"express": "^5.2.0",
"qs": "6.14.2",
"jws": "3.2.3",
"undici": "7.24.0",
"lodash": "^4.18.1",
"axios": "1.15.0"
},
"devDependencies": {
"@angular-builders/custom-webpack": "^20.0.0",
"@angular-builders/dev-server": "^7.3.1",
"@angular-devkit/architect": "0.2101.3",
"@angular-eslint/builder": "^20.0.0",
"@angular-eslint/eslint-plugin": "^20.0.0",
"@angular-eslint/eslint-plugin-template": "^20.0.0",
"@angular-eslint/schematics": "^20.0.0",
"@angular-eslint/template-parser": "^20.0.0",
"@angular/build": "20.3.16",
"@angular/cli": "20.3.16",
"@angular/compiler-cli": "20.3.15",
"@types/body-parser": "^1.19.5",
"@types/cookie-parser": "^1.4.7",
"@types/express": "^5.0.0",
"@types/express-session": "^1.18.2",
"@types/http-proxy-middleware": "^1.0.0",
"@types/jest": "^29.5.12",
"@types/js-yaml": "^4.0.9",
"@types/luxon": "^3.4.2",
"@types/node": "^22.0.0",
"@types/nunjucks": "^3.2.6",
"@typescript-eslint/eslint-plugin": "^8.8.1",
"@typescript-eslint/parser": "^8.8.1",
"@typescript-eslint/types": "^8.8.1",
"axe-core": "^4.9.1",
"bluebird": "^3.7.2",
"concurrently": "^9.0.0",
"cypress": "^15.0.0",
"cypress-axe": "^1.5.0",
"ejs": "^3.1.10",
"eslint": "^9.5",
"husky": "^9.0.0",
"i": "^0.3.7",
"jest": "^29.7",
"jest-environment-jsdom": "^29.7",
"jest-preset-angular": "^15.0.0",
"junit-report-merger": "^7.0.0",
"lodash": "^4.18.1",
"nodemon": "^3.1.3",
"npm": "^11.0.0",
"prettier": "^3.3.3",
"start-server-and-test": "^2.0.4",
"ts-jest": "^29.1.5",
"ts-node": "^10.9.2",
"typescript": "^5.5.3",
"xunit-viewer": "^10.6.1"
},
"packageManager": "yarn@4.11.0"
}