generated from companieshouse/node-review-web-starter-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·140 lines (140 loc) · 4.46 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
{
"name": "acsp-manage-users-web",
"version": "1.0.0",
"description": "A web application for ACSP Manage Users journey",
"main": "dist/server.js",
"engines": {
"node": ">=20.0.0",
"npm": "^10"
},
"scripts": {
"prebuild": "rm -rf ./dist",
"build:assets": "gulp build",
"build:server": "tsc && cp -r src/views dist/ && cp -r locales dist/",
"build": "npm run build:assets && npm run build:server",
"lint": "eslint 'src/*.ts' 'src/**/*.ts' 'test/src/**/*.ts'",
"lint:fix": "eslint 'src/*.ts' 'src/**/*.ts' 'test/src/**/*.ts' --fix",
"test": "jest",
"coverage": "jest --coverage --passWithNoTests",
"sonarqube-base-branch": "sonar-scanner",
"sonarqube-pull-request": "sonar-scanner -D sonar.pullrequest.base=main",
"sonarqube": "branch=$(git rev-parse --symbolic-full-name --abbrev-ref HEAD); if [[ $branch == \"HEAD\" ]]; then echo $branch && npm run sonarqube-base-branch; else echo $branch && npm run sonarqube-pull-request; fi;",
"start": "npm run build && node dist/server.js",
"start:watch": "nodemon"
},
"resolutions": {
"**/@typescript-eslint/eslint-plugin": "^4.1.1",
"**/@typescript-eslint/parser": "^4.1.1"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && npm test"
}
},
"license": "MIT",
"dependencies": {
"@braintree/sanitize-url": "^7.0.1",
"@companieshouse/api-sdk-node": "^2.0.160",
"@companieshouse/ch-node-utils": "^1.3.15",
"@companieshouse/node-session-handler": "5.2.0",
"@companieshouse/structured-logging-node": "^2.0.1",
"@companieshouse/web-security-node": "^4.4.3",
"@types/luxon": "^3.4.2",
"axios": ">=1.7.4",
"cookie-parser": "^1.4.7",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"express-async-errors": "^3.1.1",
"govuk_frontend_toolkit": "^9.0.1",
"govuk-elements-sass": "^3.1.3",
"govuk-frontend": "^5.4.0",
"helmet": "^7.1.0",
"http-errors": "^1.7.3",
"i18next": "^23.11.3",
"i18next-http-middleware": "^3.6.0",
"ioredis": "5.4.1",
"js-yaml": "^3.14.0",
"luxon": "^3.4.4",
"nocache": "^4.0.0",
"nunjucks": "3.2.4",
"private-api-sdk-node": "github:companieshouse/private-api-sdk-node#1.0.29",
"require-directory": "^2.1.1",
"uuid": "^9.0.1",
"yargs": "17.7.2",
"zod": "^3.23.8"
},
"devDependencies": {
"@types/cheerio": "^0.22.18",
"@types/cookie-parser": "^1.4.3",
"@types/express": "^4.17.21",
"@types/http-errors": "^2.0.4",
"@types/ioredis": "4.28.10",
"@types/jest": "^29.5.12",
"@types/jest-when": "^3.5.5",
"@types/js-yaml": "^4.0.9",
"@types/node": "^20.12.11",
"@types/nunjucks": "3.2.6",
"@types/require-directory": "^2.1.6",
"@types/supertest": "^6.0.2",
"@types/uuid": "9.0.8",
"@typescript-eslint/eslint-plugin": "4.1.1",
"@typescript-eslint/parser": "4.1.1",
"cheerio": "^1.0.0-rc.3",
"eslint": "6.8.0",
"eslint-config-standard": "14.1.1",
"eslint-plugin-import": "2.20.2",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-standard": "4.0.1",
"gulp": "^5.0.0",
"gulp-clean": "^0.4.0",
"gulp-concat": "^2.6.1",
"gulp-sass": "^5.1.0",
"gulp-uglify": "^3.0.2",
"husky": "^4.3.8",
"jest": "^29.7.0",
"jest-when": "^3.6.0",
"nock": "12.0.3",
"nodemon": "^3.0.1",
"sass": "1.32.13",
"sonarqube-scanner": "^3.3.0",
"supertest": "^6.3.3",
"ts-jest": "^29.1.1",
"ts-node": "8.10.1",
"typescript": "4.9.5"
},
"@comments devDependencies": {
"@package sass": [
"We're using an older version of @sass to suppress deprecation warnings thrown by the @govuk-frontend package during the build",
"We'll upgrade to the most recent version of @sass after this issue is fixed in the @govuk-frontend package"
]
},
"overrides": {
"chokidar": "3.5.3",
"glob-parent": "6.0.2"
},
"nodemonConfig": {
"watch": [
"./src",
"./assets/src"
],
"ext": "ts,js,json,njk,scss,env",
"legacyWatch": true,
"ignore": [
"**/*.test.ts"
],
"exec": "node --inspect=0 -r ts-node/register src/server.ts"
},
"directories": {
"test": "test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/companieshouse/acsp-manage-users-web.git"
},
"keywords": [],
"bugs": {
"url": "https://github.com/companieshouse/acsp-manage-users-web/issues"
},
"homepage": "https://github.com/companieshouse/acsp-manage-users-web#readme"
}